diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-11-19 19:10:16 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-11-19 19:10:16 -0800 |
commit | 9316f533ab20aa79cf0a5863452efdadfad91f6f (patch) | |
tree | ea325d4504d284c533b01189005132633268fa18 /vdp.c | |
parent | 654b9b962025cd4bb404eeccfb3ef1fcfd40ece7 (diff) |
Implemented support for toggling off a debug view
Diffstat (limited to 'vdp.c')
-rw-r--r-- | vdp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3943,7 +3943,8 @@ void vdp_deserialize(deserialize_buffer *buf, void *vcontext) void vdp_toggle_debug_view(vdp_context *context, uint8_t debug_type) { if (context->enabled_debuggers & 1 << debug_type) { - //TODO: implement me + render_destroy_window(context->debug_fb_indices[debug_type]); + context->enabled_debuggers &= ~(1 << debug_type); } else { uint32_t width,height; uint8_t fetch_immediately = 0; |