mirror of https://github.com/mgba-emu/mgba.git
mGUI: Persist fast forwarding after closing menu (fixes #2414)
This commit is contained in:
parent
3a5642fcb8
commit
bfc830e08d
1
CHANGES
1
CHANGES
|
@ -39,6 +39,7 @@ Misc:
|
|||
- GB Serialize: Add missing savestate support for MBC6 and NT (newer)
|
||||
- GBA: Improve detection of valid ELF ROMs
|
||||
- mGUI: Enable auto-softpatching (closes mgba.io/i/2899)
|
||||
- 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
|
||||
- Qt: Handle multiple save game files for disparate games separately (fixes mgba.io/i/2887)
|
||||
- Qt: Remove maligned double-click-to-fullscreen shortcut (closes mgba.io/i/2632)
|
||||
|
|
|
@ -500,6 +500,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;
|
||||
|
@ -508,7 +509,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);
|
||||
|
|
Loading…
Reference in New Issue