diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-12-09 09:48:48 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-12-09 09:48:48 -0800 |
commit | 818a3ef482b96c0a963bb515291944346586f106 (patch) | |
tree | a13839316062ed0986e1b0b8317c6df3e74d7610 /stateview.c | |
parent | aaca957565a13e9f2c6ab5ae085d7c8fb6c0fa85 (diff) |
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.
Diffstat (limited to 'stateview.c')
-rw-r--r-- | stateview.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stateview.c b/stateview.c index 1b72a0c..d27634c 100644 --- a/stateview.c +++ b/stateview.c @@ -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 @@ int main(int argc, char ** argv) 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); |