summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-05-13 19:13:15 -0700
committerMichael Pavone <pavone@retrodev.com>2015-05-13 19:13:15 -0700
commitf27e8413fb547c3201329915f0231a533ab2bb33 (patch)
tree8a023d0b9859c66da02087128e105feb06ab934b
parent42c1cb8c7c5369c88a8e94c083731b1e93b6119a (diff)
Get save state viewer compiling again
-rw-r--r--stateview.c5
1 files changed, 3 insertions, 2 deletions
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);