From 99632397da623bd28041b375bc799de0413f3428 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Fri, 10 Feb 2023 20:50:12 +0900 Subject: [PATCH] Enable the hack in Rance4v2 recompiled with System3.9 The System3.9 compiler compiles `MT` command to `0x2F28`, so the hack must be enabled in commands2F28(). Fixes https://github.com/kichikuou/xsystem35-sdl2/issues/36. --- src/cmd2F.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cmd2F.c b/src/cmd2F.c index a6e5d85..0cf4f51 100644 --- a/src/cmd2F.c +++ b/src/cmd2F.c @@ -467,6 +467,8 @@ void commands2F28() { 0 == strcmp(nact->game_title_utf8, GT_RANCE4_ENG)) { have_eng_mp_patch = TRUE; } + if (!strcmp(nact->game_title_utf8, GT_RANCE4V2)) + nact->game_rance4v2 = true; DEBUG_COMMAND("MT(new) %s:",title); }