From f8c505b80ad5637a67cd8eb12b8391093b5957c8 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Sat, 22 Sep 2001 20:48:51 +0000 Subject: [PATCH] Small optimisation --- zsnes/src/win/winlink.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 7e77e225..ae7e788d 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -1816,11 +1816,7 @@ void CheckTimers(void) while ((end - start) >= update_ticks_pc) { - _asm{ - pushad - call Game60hzcall - popad - } + Game60hzcall(); start += update_ticks_pc; } } @@ -1832,11 +1828,7 @@ void CheckTimers(void) while ((end - start) >= update_ticks_pc) { - _asm{ - pushad - call GUI36hzcall - popad - } + GUI36hzcall(); start += update_ticks_pc; } }