summaryrefslogtreecommitdiff
path: root/stateview.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-05-11 22:45:05 -0700
committerMike Pavone <pavone@retrodev.com>2013-05-11 22:45:05 -0700
commit4fd8e5c9fe3b0dcbd1f77076b9a10ecb5afff238 (patch)
treed4ca121354f25b89318b1cc9b37d5e73d2e720f8 /stateview.c
parentbd37bedca78611c47b5ecbc7f8a9fbc78c39b910 (diff)
Remove z80_ram reference in SDL renderer to get stateview compiling again. Print out the sprite list in stateview.
Diffstat (limited to 'stateview.c')
-rw-r--r--stateview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stateview.c b/stateview.c
index a7c030c..db19cfa 100644
--- a/stateview.c
+++ b/stateview.c
@@ -38,6 +38,7 @@ int main(int argc, char ** argv)
init_vdp_context(&context);
vdp_load_savestate(&context, state_file);
vdp_run_to_vblank(&context);
+ vdp_print_sprite_table(&context);
printf("Display %s\n", (context.regs[REG_MODE_2] & DISPLAY_ENABLE) ? "enabled" : "disabled");
render_init(width, height);
render_context(&context);