From 3c0f24e85fe5429fe4b7f239e7870c4ff9c041b4 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 7 Sep 2014 11:29:29 +0300 Subject: [PATCH] Pause also PPC thread when main emulation pauses. --- od-win32/win32.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index 0633c5af..d17faa89 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -92,6 +92,7 @@ #include "rp.h" #include "cloanto/RetroPlatformIPC.h" #endif +#include "uae/ppc.h" extern int harddrive_dangerous, do_rdbdump, no_rawinput, no_directinput; extern int force_directsound; @@ -490,6 +491,9 @@ bool resumepaused (int priority) pause_emulation = 0; #ifdef RETROPLATFORM rp_pause (pause_emulation); +#endif +#ifdef WITH_PPC + uae_ppc_pause(0); #endif setsystime (); return true; @@ -500,6 +504,9 @@ bool setpaused (int priority) if (pause_emulation > priority) return false; pause_emulation = priority; +#ifdef WITH_PPC + uae_ppc_pause(1); +#endif setsoundpaused (); blkdev_entergui (); pausemouseactive = 1; -- 2.47.3