diff menu.s68 @ 1423:9a3e003bdcb3

Make drag and drop play nice with the menu
author Michael Pavone <pavone@retrodev.com>
date Fri, 30 Jun 2017 18:42:52 -0700
parents 2b34469e3f81
children e2bd03ed3190
line wrap: on
line diff
--- a/menu.s68	Fri Jun 30 00:36:18 2017 -0700
+++ b/menu.s68	Fri Jun 30 18:42:52 2017 -0700
@@ -214,6 +214,10 @@
 	move.b d1, d0
 	move.l d0, (a1)
 	startdma $C000, VDP_VRAM_WRITE
+	
+	move.w (menu_port+4*7), d0
+	btst #0, d0
+	bne show_pause_menu
 
 	;read gamepad/mouse in port 1
 	lea PAD1_DATA, a2