From e86d0b488cfc01f53e306056abe5e18698895cd1 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sun, 13 Oct 2013 13:38:47 -0700 Subject: [PATCH] Now passes on the initial frames and clockdown settings --- Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm b/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm index 5cbe38a84..edadfb2f1 100644 --- a/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm +++ b/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm @@ -1014,6 +1014,15 @@ static int twosf_info(void * context, const char * name, const char * value) core->dwInterpolation = 1; core->dwChannelMute = 0; + if (!state.arm7_clockdown_level) + state.arm7_clockdown_level = state.clockdown; + if (!state.arm9_clockdown_level) + state.arm9_clockdown_level = state.clockdown; + + core->initial_frames = state.initial_frames; + core->arm7_clockdown_level = state.arm7_clockdown_level; + core->arm9_clockdown_level = state.arm9_clockdown_level; + emulatorCore = ( uint8_t * ) core; emulatorExtra = state.rom;