From bd299672a1f3fa11c7b9d1170eecb00e632ee712 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Fri, 31 Aug 2018 23:02:47 -0500 Subject: [PATCH] Save jitBlockSize to movie files --- desmume/src/movie.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/desmume/src/movie.cpp b/desmume/src/movie.cpp index 710d63fa2..e340d1f87 100644 --- a/desmume/src/movie.cpp +++ b/desmume/src/movie.cpp @@ -268,13 +268,12 @@ int MovieData::dump(EMUFILE &fp, bool binary) fp.fprintf("romChecksum %s\n", u32ToHexString(gameInfo.crc).c_str()); fp.fprintf("romSerial %s\n", romSerial.c_str()); fp.fprintf("guid %s\n", guid.toString().c_str()); - fp.fprintf("useExtBios %d\n", CommonSettings.UseExtBIOS?1:0); - fp.fprintf("advancedTiming %d\n", CommonSettings.advanced_timing?1:0); + fp.fprintf("useExtBios %d\n", CommonSettings.UseExtBIOS?1:0); // TODO: include bios file data, not just a flag saying something was used if (CommonSettings.UseExtBIOS) fp.fprintf("swiFromBios %d\n", CommonSettings.SWIFromBIOS?1:0); - fp.fprintf("useExtFirmware %d\n", CommonSettings.UseExtFirmware?1:0); + fp.fprintf("useExtFirmware %d\n", CommonSettings.UseExtFirmware?1:0); // TODO: include firmware file data, not just a flag saying something was used if (CommonSettings.UseExtFirmware) { @@ -296,6 +295,9 @@ int MovieData::dump(EMUFILE &fp, bool binary) fp.fprintf("firmLanguage %d\n", CommonSettings.fw_config.language); } + fp.fprintf("advancedTiming %d\n", CommonSettings.advanced_timing?1:0); + fp.fprintf("jitBlockSize %d\n", CommonSettings.use_jit ? CommonSettings.jit_max_block_size : 0); + fp.fprintf("rtcStartNew %s\n", rtcStart.ToString().c_str()); for (u32 i = 0; i < comments.size(); i++)