From: Toni Wilen Date: Sun, 7 Sep 2014 08:29:29 +0000 (+0300) Subject: Pause also PPC thread when main emulation pauses. X-Git-Tag: 3000~55 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=3c0f24e85fe5429fe4b7f239e7870c4ff9c041b4;p=francis%2Fwinuae.git Pause also PPC thread when main emulation pauses. --- 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;