summaryrefslogtreecommitdiff
path: root/vdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdp.c')
-rw-r--r--vdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdp.c b/vdp.c
index 69d304d..8932b75 100644
--- a/vdp.c
+++ b/vdp.c
@@ -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;