diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-04-26 22:16:12 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-04-26 22:16:12 -0700 |
commit | 3f81efc2e81b4118324f6043a7c6dc87426206bb (patch) | |
tree | 599ac17ac3a165c6a7af737153ab858ae14b4565 /gst.c | |
parent | 174396b1c744e9bd3ac438f8660f25cd59568b4a (diff) |
Small tweak to how SAT cache updates are done. Mostly fixes the rotating cube scene in Overdrive 2
Diffstat (limited to 'gst.c')
-rw-r--r-- | gst.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -251,7 +251,8 @@ uint8_t vdp_load_gst(vdp_context * context, FILE * state_file) return 0; } for (int i = 0; i < VRAM_SIZE; i++) { - write_vram_byte(context, i, tmp_buf[i]); + context->vdpmem[i] = tmp_buf[i]; + vdp_check_update_sat_byte(context, i, tmp_buf[i]); } return 1; } |