Fix SACT version detection for Rance 5D English version

This commit is contained in:
kichikuou
2021-11-03 12:09:14 +09:00
parent 7f6ab44e96
commit 162bf8dc25
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -103,10 +103,10 @@ extern char *xsys35_sact01;
static void Init() {
int p1 = getCaliValue(); /* ISys3x */
// ゲームタイトルによるバージョン設定
if (0 == strcmp(nact->game_title_utf8, GT_ESUKA)) {
if (!strcmp(nact->game_title_utf8, GT_ESUKA)) {
sact.version = 100;
} else if (0 == strcmp(nact->game_title_utf8, GT_RANCE5D)){
} else if (!strcmp(nact->game_title_utf8, GT_RANCE5D) ||
!strcmp(nact->game_title_utf8, GT_RANCE5D_ENG)) {
sact.version = 110;
} else {
sact.version = 120;
+1
View File
@@ -4,3 +4,4 @@
#define GT_ESUKA "-BeatAngelEscalayer-"
#define GT_RANCE3_ENG "Rance3"
#define GT_RANCE4_ENG "Rance4 -Legacy of the Sect- For Win95 "
#define GT_RANCE5D_ENG "Rance 5D"