# HG changeset patch # User Michael Pavone # Date 1431569595 25200 # Node ID 6e751a8f46aaa605d8ef2be6b92ab1df731ea5f4 # Parent 144df1a6d3b99c760a7d9434a6407c314d657c0a Get save state viewer compiling again diff -r 144df1a6d3b9 -r 6e751a8f46aa stateview.c --- a/stateview.c Tue May 12 19:14:09 2015 -0700 +++ b/stateview.c Wed May 13 19:13:15 2015 -0700 @@ -53,6 +53,7 @@ } tern_node * config; +int headless = 0; int main(int argc, char ** argv) { @@ -86,8 +87,8 @@ 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);