Mercurial > repos > blastem
diff stateview.c @ 1103:22e87b739ad6
WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 09 Dec 2016 09:48:48 -0800 |
parents | e2d345e351b5 |
children | 928a65750345 |
line wrap: on
line diff
--- a/stateview.c Mon Nov 28 22:45:46 2016 -0800 +++ b/stateview.c Fri Dec 09 09:48:48 2016 -0800 @@ -8,7 +8,8 @@ #include "vdp.h" #include "render.h" #include "util.h" -#include "blastem.h" +#include "genesis.h" +#include "config.h" uint16_t read_dma_value(uint32_t address) @@ -109,7 +110,7 @@ height = height < 240 ? (width/320) * 240 : height; vdp_context context; - render_init(width, height, "GST State Viewer", 60, 0); + render_init(width, height, "GST State Viewer", 0); init_vdp_context(&context, 0); vdp_load_gst(&context, state_file); vdp_run_to_vblank(&context);