summaryrefslogtreecommitdiff
path: root/vdp.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2014-02-08 23:37:09 -0800
committerMike Pavone <pavone@retrodev.com>2014-02-08 23:37:09 -0800
commit4afb917f03758c286ca85ad9a45be13e852b6a84 (patch)
tree3dd074e2a98cac5921b2cf5aec06db470f6214de /vdp.c
parent9fb4d34b6a61b35380b2840a1e5ed94199dbbada (diff)
Initial GDB remote debugging support. Lacks some features, but breakpoints and basic inspection of registers and memory work.
Diffstat (limited to 'vdp.c')
-rw-r--r--vdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdp.c b/vdp.c
index 103ed63..5cf5797 100644
--- a/vdp.c
+++ b/vdp.c
@@ -197,7 +197,7 @@ void vdp_print_sprite_table(vdp_context * context)
uint8_t pal = context->vdpmem[address + 4] >> 5 & 0x3;
uint8_t pri = context->vdpmem[address + 4] >> 7;
uint16_t pattern = ((context->vdpmem[address + 4] << 8 | context->vdpmem[address + 5]) & 0x7FF) << 5;
- //printf("Sprite %d: X=%d(%d), Y=%d(%d), Width=%u, Height=%u, Link=%u, Pal=%u, Pri=%u, Pat=%X\n", current_index, x, x-128, y, y-128, width, height, link, pal, pri, pattern);
+ printf("Sprite %d: X=%d(%d), Y=%d(%d), Width=%u, Height=%u, Link=%u, Pal=%u, Pri=%u, Pat=%X\n", current_index, x, x-128, y, y-128, width, height, link, pal, pri, pattern);
current_index = link;
count++;
} while (current_index != 0 && count < 80);