Mercurial > repos > blastem
diff gst.c @ 1428:2540c05520f2
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
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 09 Aug 2017 23:26:51 -0700 |
parents | 69c25e1188e5 |
children | 7e67f8a37051 |
line wrap: on
line diff
--- a/gst.c Sun Aug 06 00:06:36 2017 -0700 +++ b/gst.c Wed Aug 09 23:26:51 2017 -0700 @@ -236,7 +236,7 @@ } 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);