Mercurial > repos > blastem
diff sms.c @ 1643:6909c5d0bbb5
Removed old VDP debug functionality
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 19 Nov 2018 19:26:57 -0800 |
parents | 3602f3b20072 |
children | b7ecd0d6a77b 395f684c5379 |
line wrap: on
line diff
--- a/sms.c Mon Nov 19 19:10:16 2018 -0800 +++ b/sms.c Mon Nov 19 19:26:57 2018 -0800 @@ -451,19 +451,7 @@ 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->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;