Skip SysEng's "new style" marker

It can be simply skipped, because SysEng's command set is a superset
of System1-3.
This commit is contained in:
kichikuou
2021-03-18 09:38:13 +09:00
parent 9a8ebbdcb0
commit 8417e7758a
+6
View File
@@ -151,6 +151,12 @@ void NACT::execute()
opening();
}
// Skip SysEng's "new style" marker
if (scenario_page == 0 && scenario_addr == 2 &&
memcmp(&scenario_data[2], "REV", 3) == 0) {
scenario_addr = 5;
}
// 1コマンド実行
prev_addr = scenario_addr;
uint8 cmd = getd();