git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 4a42dc073bef981a0a1950b79ee75d73f677c6bf
parent a791f7e621e34a0f0bdafbc18fa108a5e4ad228e
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Fri, 12 Apr 2024 13:41:59 +0300

Fix turbo mode not working on iOS if dynamic speed is not enabled

Diffstat:
MiOS/GBViewController.m2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iOS/GBViewController.m b/iOS/GBViewController.m @@ -835,7 +835,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response _rewindOver = false; } - if (_runMode == GBRunModeNormal || [[NSUserDefaults standardUserDefaults] boolForKey:@"GBDynamicSpeed"]) { + if (_runMode == GBRunModeNormal || ![[NSUserDefaults standardUserDefaults] boolForKey:@"GBDynamicSpeed"]) { if (_runMode == GBRunModeTurbo) { double multiplier = [[NSUserDefaults standardUserDefaults] doubleForKey:@"GBTurboSpeed"]; GB_set_turbo_mode(&_gb, multiplier == 1, false);

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.