From 159efcc0c2d46da4ef9824674d1b676ce1ccf33c Mon Sep 17 00:00:00 2001 From: XProger Date: Tue, 29 Jan 2019 05:57:23 +0300 Subject: [PATCH] fixed #153 add advanced way to place game resources for Sega Saturn data --- src/gameflow.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gameflow.h b/src/gameflow.h index 89b71f9..0ba2629 100644 --- a/src/gameflow.h +++ b/src/gameflow.h @@ -836,6 +836,7 @@ namespace TR { case VER_TR1_PSX : case VER_TR2_PSX : case VER_TR3_PSX : strcat(dst, ".PSX"); break; + case VER_TR1_SAT : strcat(dst, ".SAT"); break; case VER_UNKNOWN : if (Stream::existsContent("level/1/TITLE.PSX")) { strcpy(dst, "level/1/TITLE.PSX"); @@ -845,6 +846,10 @@ namespace TR { strcpy(dst, "level/1/TITLE.PHD"); return; } + if (Stream::existsContent("level/1/TITLE.SAT")) { + strcpy(dst, "level/1/TITLE.SAT"); + return; + } if (Stream::existsContent("level/2/TITLE.TR2")) { strcpy(dst, "level/2/TITLE.TR2"); return;