aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneonloop2023-01-14 07:13:19 +0000
committerneonloop2023-01-14 07:13:19 +0000
commitdc919461c44c421560a7e3ce454116ea8bf0d8bd (patch)
treec4aee28b102f621ec0ecba7d753d0fb53aa46939
parentad180582b305f6478c53fe1d40296987bdf2e6a6 (diff)
downloadpicoarch-dc919461c44c421560a7e3ce454116ea8bf0d8bd.tar.gz
picoarch-dc919461c44c421560a7e3ce454116ea8bf0d8bd.tar.bz2
picoarch-dc919461c44c421560a7e3ce454116ea8bf0d8bd.zip
Stops fast forward before suspending
Prevents fast forward stuck during FunKey Instant Play
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7d7de4c..4e56fe4 100644
--- a/main.c
+++ b/main.c
@@ -692,8 +692,10 @@ int main(int argc, char **argv) {
adjust_audio();
current_core.retro_run();
#ifdef FUNKEY_S
- if (should_suspend)
+ if (should_suspend) {
+ toggle_fast_forward(1);
FK_Suspend();
+ }
#endif
if (!should_quit)