summaryrefslogtreecommitdiff
path: root/stateview.c
diff options
context:
space:
mode:
Diffstat (limited to 'stateview.c')
-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);