mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
Fix SACT version detection for Rance 5D English version
This commit is contained in:
+3
-3
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user