diff bindings.c @ 1643:6909c5d0bbb5

Removed old VDP debug functionality
author Michael Pavone <pavone@retrodev.com>
date Mon, 19 Nov 2018 19:26:57 -0800
parents bc9bb4e5856f
children 12d0c7c4ad80
line wrap: on
line diff
--- a/bindings.c	Mon Nov 19 19:10:16 2018 -0800
+++ b/bindings.c	Mon Nov 19 19:26:57 2018 -0800
@@ -23,7 +23,6 @@
 
 typedef enum {
 	UI_DEBUG_MODE_INC,
-	UI_DEBUG_PAL_INC,
 	UI_ENTER_DEBUGGER,
 	UI_SAVE_STATE,
 	UI_SET_SPEED,
@@ -242,9 +241,6 @@
 	handle_binding_down(binding);
 }
 
-static uint8_t ui_debug_mode = 0;
-static uint8_t ui_debug_pal = 0;
-
 static int current_speed = 0;
 static int num_speeds = 1;
 static uint32_t * speeds = NULL;
@@ -275,9 +271,6 @@
 		case UI_DEBUG_MODE_INC:
 			current_system->inc_debug_mode(current_system);
 			break;
-		case UI_DEBUG_PAL_INC:
-			current_system->inc_debug_pal(current_system);
-			break;
 		case UI_ENTER_DEBUGGER:
 			current_system->enter_debugger = 1;
 			break;
@@ -578,7 +571,8 @@
 		if (!strcmp(target + 3, "vdp_debug_mode")) {
 			*subtype_a = UI_DEBUG_MODE_INC;
 		} else if(!strcmp(target + 3, "vdp_debug_pal")) {
-			*subtype_a = UI_DEBUG_PAL_INC;
+			//legacy binding, ignore
+			return 0;
 		} else if(!strcmp(target + 3, "enter_debugger")) {
 			*subtype_a = UI_ENTER_DEBUGGER;
 		} else if(!strcmp(target + 3, "save_state")) {