mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-11 16:48:17 +03:00
Change the condition for applying Rance4v2 hack
Now it's determined by the MT command argument.
This commit is contained in:
+4
-7
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user