mGUI: Persist fast forwarding after closing menu (fixes #2414)

This commit is contained in:
Vicki Pfau 2023-12-18 22:57:51 -08:00
parent 68e5a0aa47
commit f8112aee59
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Other fixes:
- Qt: Fix mute settings not being loaded on setting screen (fixes mgba.io/i/2990)
- Vita: Fix camera setting not appearing (fixes mgba.io/i/3012)
Misc:
- mGUI: Persist fast forwarding after closing menu (fixes mgba.io/i/2414)
- Qt: Add exporting of SAV + RTC saves from Save Converter to strip RTC data
0.10.2: (2023-04-23)

View File

@ -492,6 +492,7 @@ void mGUIRun(struct mGUIRunner* runner, const char* path) {
}
mLOG(GUI_RUNNER, INFO, "Game starting");
runner->fps = 0;
bool fastForward = false;
while (running) {
CircleBufferClear(&runner->fpsBuffer);
runner->totalDelta = 0;
@ -500,7 +501,6 @@ void mGUIRun(struct mGUIRunner* runner, const char* path) {
runner->lastFpsCheck = 1000000LL * tv.tv_sec + tv.tv_usec;
int frame = 0;
bool fastForward = false;
while (running) {
if (runner->running) {
running = runner->running(runner);