From 818a3ef482b96c0a963bb515291944346586f106 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 9 Dec 2016 09:48:48 -0800 Subject: 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. --- stateview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stateview.c') 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); -- cgit v1.2.3