summaryrefslogtreecommitdiff
path: root/stateview.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-06-29 17:15:08 -0700
committerMike Pavone <pavone@retrodev.com>2013-06-29 17:15:08 -0700
commit48718d1f339e263fb52a35a7a5230d32491b78b8 (patch)
tree16eb423306ce41301c188ffa4ed8193b438e334b /stateview.c
parent6183aae8b8ff8deb39d5e177896ef62bc72df7c0 (diff)
Add support for loading GST format savestates
Diffstat (limited to 'stateview.c')
-rw-r--r--stateview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stateview.c b/stateview.c
index db19cfa..10120e9 100644
--- a/stateview.c
+++ b/stateview.c
@@ -36,7 +36,7 @@ int main(int argc, char ** argv)
}
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");