diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-08-09 23:26:51 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-08-09 23:26:51 -0700 |
commit | 5b2b37e775d719fc055ef5e8e59cf965a8049e11 (patch) | |
tree | 4662dab8115571aaced5ee6e2d1c80cc7839f3be /gst.c | |
parent | 581601741c3b94bc66a03eece1774618312b260a (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |