From f27e8413fb547c3201329915f0231a533ab2bb33 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 13 May 2015 19:13:15 -0700 Subject: Get save state viewer compiling again --- stateview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stateview.c') diff --git a/stateview.c b/stateview.c index ee34407..713c390 100644 --- a/stateview.c +++ b/stateview.c @@ -53,6 +53,7 @@ void handle_joy_dpad(int joystick, int dpadnum, uint8_t value) } tern_node * config; +int headless = 0; int main(int argc, char ** argv) { @@ -86,8 +87,8 @@ 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); - init_vdp_context(&context); + render_init(width, height, "GST State Viewer", 60, 0, 0); + init_vdp_context(&context, 0); vdp_load_gst(&context, state_file); vdp_run_to_vblank(&context); vdp_print_sprite_table(&context); -- cgit v1.2.3