From 62a80652aa3ce761ae7c0613c650ef57d99b6300 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Mon, 15 Apr 2002 00:39:17 +0000 Subject: [PATCH] Small fix for cpu usage in GUI --- zsnes/src/win/winlink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 9812483f..e683d675 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -1854,6 +1854,7 @@ extern unsigned char MMXSupport; void UpdateVFrame(void) { if (GUIOn2 == 1 && IsActivated == 0) WaitMessage(); + if (GUIOn2 == 1 && IsActivated == 1) Sleep(1); int DataNeeded; int SPCSize=256;