diff --git a/modules/SACT/SACT.c b/modules/SACT/SACT.c index 057c4aa..3e288b7 100644 --- a/modules/SACT/SACT.c +++ b/modules/SACT/SACT.c @@ -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; diff --git a/src/gametitle.h b/src/gametitle.h index 22668b1..69ce85d 100644 --- a/src/gametitle.h +++ b/src/gametitle.h @@ -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"