summaryrefslogtreecommitdiff
path: root/gst.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-08-09 23:26:51 -0700
committerMichael Pavone <pavone@retrodev.com>2017-08-09 23:26:51 -0700
commit5b2b37e775d719fc055ef5e8e59cf965a8049e11 (patch)
tree4662dab8115571aaced5ee6e2d1c80cc7839f3be /gst.c
parent581601741c3b94bc66a03eece1774618312b260a (diff)
New savestates are working. New config file option for selecting format states will be saved in. Mostly complete, needs a little more work before release
Diffstat (limited to 'gst.c')
-rw-r--r--gst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst.c b/gst.c
index 6737eee..c74dab2 100644
--- a/gst.c
+++ b/gst.c
@@ -236,7 +236,7 @@ uint8_t vdp_load_gst(vdp_context * context, FILE * state_file)
}
for (int i = 0; i < CRAM_SIZE; i++) {
uint16_t value;
- write_cram(context, i*2, (tmp_buf[i*2+1] << 8) | tmp_buf[i*2]);
+ write_cram_internal(context, i*2, (tmp_buf[i*2+1] << 8) | tmp_buf[i*2]);
}
if (fread(tmp_buf, 2, VSRAM_SIZE, state_file) != VSRAM_SIZE) {
fputs("Failed to read VSRAM from savestate\n", stderr);