From ebe8fa6655305ac5730db91d7070200a5095007e Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Thu, 24 May 2001 19:00:05 +0000 Subject: [PATCH] Fixed cpu utilization when not active --- zsnes/src/win/winlink.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 332333b8..aeaecc63 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -1585,10 +1585,12 @@ void CheckTimers(void) } } +extern BYTE GUIOn2; + void UpdateVFrame(void) { -// if (SuspendInBackground == 1 && IsActivated == 0) WaitMessage(); + if (GUIOn2 == 1 && IsActivated == 0) WaitMessage(); int DataNeeded; int SPCSize=256;