Mercurial > repos > blastem
diff coleco.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 | 23052186705a |
children |
line wrap: on
line diff
--- a/coleco.c Sun Jun 29 23:38:56 2025 -0700 +++ b/coleco.c Fri Jul 04 19:35:50 2025 -0700 @@ -472,6 +472,12 @@ { } +static vdp_context *get_vdp(system_header *system) +{ + coleco_context *coleco = (coleco_context *)system; + return coleco->vdp; +} + coleco_context *alloc_configure_coleco(system_media *media) { coleco_context *coleco = calloc(1, sizeof(coleco_context)); @@ -559,6 +565,7 @@ coleco->header.serialize = serialize; coleco->header.deserialize = deserialize; coleco->header.toggle_debug_view = toggle_debug_view; + coleco->header.get_vdp = get_vdp; coleco->header.type = SYSTEM_COLECOVISION; return coleco;