Mercurial > repos > blastem
diff stateview.c @ 424:7e8e179116af
Add support for loading GST format savestates
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 29 Jun 2013 17:15:08 -0700 |
parents | 8e2fa485c0f2 |
children | dc322bc77ea2 |
line wrap: on
line diff
--- a/stateview.c Tue Jun 25 23:18:57 2013 -0700 +++ b/stateview.c Sat Jun 29 17:15:08 2013 -0700 @@ -36,7 +36,7 @@ } vdp_context context; init_vdp_context(&context); - vdp_load_savestate(&context, state_file); + vdp_load_gst(&context, state_file); vdp_run_to_vblank(&context); vdp_print_sprite_table(&context); printf("Display %s\n", (context.regs[REG_MODE_2] & DISPLAY_ENABLE) ? "enabled" : "disabled");