all repos — mgba @ 6b4e37a4c6476dbff611b24d7a4ec03c8f438387

mGBA Game Boy Advance Emulator

3DS: Enable speedup with new ctrulib
Jeffrey Pfau jeffrey@endrift.com
Tue, 20 Oct 2015 19:40:27 -0700
commit

6b4e37a4c6476dbff611b24d7a4ec03c8f438387

parent

35b5101f3cf2d32cad792716234d0ae7e00f690a

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -176,6 +176,7 @@ }

if (runner->context.gba->memory.hw.devices & HW_GYRO) { HIDUSER_EnableGyroscope(); } + osSetSpeedupEnable(true); #if RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF double ratio = GBAAudioCalculateRatio(1, 59.8260982880808, 1);

@@ -202,6 +203,7 @@ CSND_SetPlayState(8, 0);

CSND_SetPlayState(9, 0); csndExecCmds(false); } + osSetSpeedupEnable(false); if (runner->context.gba->memory.hw.devices & HW_TILT) { HIDUSER_DisableAccelerometer();