Mercurial > repos > blastem
diff sms.c @ 2701:5ca4e0fd761b
Update debug views while paused in the debug (except on Windows... for now)
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 04 Jul 2025 19:35:50 -0700 |
parents | c768bbd912f1 |
children |
line wrap: on
line diff
--- a/sms.c Sun Jun 29 23:38:56 2025 -0700 +++ b/sms.c Fri Jul 04 19:35:50 2025 -0700 @@ -1530,6 +1530,12 @@ load_cassette(sms, media); } +static vdp_context *get_vdp(system_header *system) +{ + sms_context *sms = (sms_context *)system; + return sms->vdp; +} + sms_context *alloc_configure_sms(system_media *media, system_type stype, uint32_t opts, uint8_t force_region) { sms_context *sms = calloc(1, sizeof(sms_context)); @@ -1680,6 +1686,7 @@ sms->header.stop_vgm_log = stop_vgm_log; sms->header.toggle_debug_view = toggle_debug_view; sms->header.cassette_action = cassette_action; + sms->header.get_vdp = get_vdp; sms->header.type = stype; if (is_sc3000) { sms->header.lockon_change = lockon_change;