From aa8af91230e2f42e4b2e225bcccc7fb14e8154aa Mon Sep 17 00:00:00 2001 From: teuf <> Date: Mon, 7 May 2001 20:40:02 +0000 Subject: [PATCH] Fixed a gui bug added while removing OSPort --- zsnes/src/gui/guimouse.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zsnes/src/gui/guimouse.inc b/zsnes/src/gui/guimouse.inc index 96751235..0bf164ef 100644 --- a/zsnes/src/gui/guimouse.inc +++ b/zsnes/src/gui/guimouse.inc @@ -513,8 +513,8 @@ ProcessMouseButtons: ret .notwinpressb -; cmp byte[OSPort],3 -; jne .notwinpressc + cmp byte[OSPort],3 + jne .notwinpressc cmp byte[GUIcwinpress],3 jne .notwinpressc mov byte[GUIcwinpress],0 @@ -532,7 +532,9 @@ ProcessMouseButtons: call MinimizeWindow popad %endif +%ifndef __MSDOS__ ret +%endif .notwinpressc ; ButtonProcess