diff --git a/src/cmdm.c b/src/cmdm.c index 8ec3f41..cdc476c 100644 --- a/src/cmdm.c +++ b/src/cmdm.c @@ -165,15 +165,12 @@ void commandMT() { nact->game_title_utf8 = toUTF8(str); ags_setWindowTitle(str); - /* 闘神都市II 対策 */ - if (0 == strcmp(nact->game_title_utf8, GT_TOSHIN2)) { + if (!strcmp(nact->game_title_utf8, GT_TOSHIN2)) dummy_pcm_su_flag = TRUE; - } - - /* Rance4 対策? */ - if (0 == strcmp(nact->game_title_utf8, GT_RANCE4)) { + if (!strcmp(nact->game_title_utf8, GT_RANCE4)) Y3waitFlags = KEYWAIT_NONCANCELABLE; - } + if (!strcmp(nact->game_title_utf8, GT_RANCE4V2)) + nact->game_rance4v2 = true; DEBUG_COMMAND("MT %s:",str); } diff --git a/src/cmdy.c b/src/cmdy.c index 50389f6..ad46bbf 100644 --- a/src/cmdy.c +++ b/src/cmdy.c @@ -147,7 +147,6 @@ void commandY() { case 1900: // The effect of Y1900 is unknown, but since it is only used by Rance4 // ver2 as the very first command, do some initialization here. - nact->game_rance4v2 = true; muscd_init_bgm(DRIFILE_WAVE, 999); break; default: diff --git a/src/gametitle.h b/src/gametitle.h index a2c6b29..7704273 100644 --- a/src/gametitle.h +++ b/src/gametitle.h @@ -1,4 +1,5 @@ #define GT_TOSHIN2 "闘神都市Ⅱ for Win95 " #define GT_RANCE4 "Rance4 -教団の遺産- For Win95 " +#define GT_RANCE4V2 "RanceⅣ -教団の遺産- for Windows " #define GT_RANCE3_ENG "Rance3" #define GT_RANCE4_ENG "Rance4 -Legacy of the Sect- For Win95 "