summaryrefslogtreecommitdiff
path: root/sms.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-11-19 19:26:57 -0800
committerMichael Pavone <pavone@retrodev.com>2018-11-19 19:26:57 -0800
commit4525890432924cfee316c5235653d1dc6b22d106 (patch)
tree1be9fee62d187dd68a27810ff2adb52159a109c5 /sms.c
parent9316f533ab20aa79cf0a5863452efdadfad91f6f (diff)
Removed old VDP debug functionality
Diffstat (limited to 'sms.c')
-rw-r--r--sms.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sms.c b/sms.c
index 2751c72..6f1c85b 100644
--- a/sms.c
+++ b/sms.c
@@ -451,19 +451,7 @@ static void request_exit(system_header *system)
static void inc_debug_mode(system_header *system)
{
sms_context *sms = (sms_context *)system;
- sms->vdp->debug++;
- if (sms->vdp->debug == 7) {
- sms->vdp->debug = 0;
- }
-}
-
-static void inc_debug_pal(system_header *system)
-{
- sms_context *sms = (sms_context *)system;
- sms->vdp->debug_pal++;
- if (sms->vdp->debug_pal == 4) {
- sms->vdp->debug_pal = 0;
- }
+ vdp_inc_debug_mode(sms->vdp);
}
static void load_save(system_header *system)
@@ -601,7 +589,6 @@ sms_context *alloc_configure_sms(system_media *media, uint32_t opts, uint8_t for
sms->header.request_exit = request_exit;
sms->header.soft_reset = soft_reset;
sms->header.inc_debug_mode = inc_debug_mode;
- sms->header.inc_debug_pal = inc_debug_pal;
sms->header.gamepad_down = gamepad_down;
sms->header.gamepad_up = gamepad_up;
sms->header.mouse_down = mouse_down;