From c6e6abd3760c130779a33cf72ea70323b0309996 Mon Sep 17 00:00:00 2001 From: teuf <> Date: Mon, 7 May 2001 19:06:58 +0000 Subject: [PATCH] Fixed a compilation problem with the dos version --- 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 d256a8e1..96751235 100644 --- a/zsnes/src/gui/guimouse.inc +++ b/zsnes/src/gui/guimouse.inc @@ -302,7 +302,9 @@ ProcessMouseButtons: ; cmp byte[OSPort],3 ; jne .noclick -%ifndef __MSDOS__ +%ifdef __MSDOS__ + jmp .noclick +%else mov byte[GUIpclicked],1 mov byte[GUIHold],255 mov eax,[GUImouseposy] @@ -311,13 +313,13 @@ ProcessMouseButtons: mov [GUIHoldXlimL],eax call MouseWindow jmp .noclick +%endif .nomenu cmp byte[GUIcmenupos],0 je near .checkmenuboxclick mov al,[GUIcmenupos] mov [GUIpmenupos],al mov byte[GUIcmenupos],0 -%endif .noclick mov byte[GUIpclicked],1 xor eax,eax