1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 16:44:50 +02:00

fixed #153 add advanced way to place game resources for Sega Saturn data

This commit is contained in:
XProger
2019-01-29 05:57:23 +03:00
parent 5cf8edb59f
commit 159efcc0c2

View File

@@ -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;