diff stateview.c @ 1931:374a5ae694e8 mame_interp

Merge from default
author Michael Pavone <pavone@retrodev.com>
date Sat, 18 Apr 2020 11:42:53 -0700
parents c3d49c338224
children
line wrap: on
line diff
--- a/stateview.c	Thu Apr 18 22:06:47 2019 -0700
+++ b/stateview.c	Sat Apr 18 11:42:53 2020 -0700
@@ -113,7 +113,7 @@
 	height = height < 240 ? (width/320) * 240 : height;
 
 	render_init(width, height, "GST State Viewer", 0);
-	vdp_context *context = init_vdp_context(0);
+	vdp_context *context = init_vdp_context(0, 0);
 	vdp_load_gst(context, state_file);
 	vdp_run_to_vblank(context);
 	vdp_print_sprite_table(context);
@@ -122,6 +122,6 @@
 		puts("Forcing display on");
 		vdp_control_port_write(context, 0x8000 | REG_MODE_2 << 8 | context->regs[REG_MODE_2] | DISPLAY_ENABLE);
 	}
-    render_wait_quit(context);
+    render_wait_quit();
     return 0;
 }