changeset 703:6e751a8f46aa

Get save state viewer compiling again
author Michael Pavone <pavone@retrodev.com>
date Wed, 13 May 2015 19:13:15 -0700
parents 144df1a6d3b9
children 1a14f5f6c6a1
files stateview.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);