Now passes on the initial frames and clockdown settings

CQTexperiment
Chris Moeller 2013-10-13 13:38:47 -07:00
parent cc31d2ddce
commit e86d0b488c
1 changed files with 9 additions and 0 deletions

View File

@ -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;