summaryrefslogtreecommitdiff
path: root/gst.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-08-22 09:46:18 -0700
committerMichael Pavone <pavone@retrodev.com>2016-08-22 09:46:18 -0700
commit4a56a7e2dfe615e03e81e29952003291090470fe (patch)
treee2a7fc9bc4d4188f934d8dcd80afba0ec278c8a7 /gst.c
parent00c00b816bac8f05e49f4733ecbedd363b0b8da2 (diff)
Cleanup the separation of render backend and VDP code in preparation for having extra debug windows. Make determination of H40/H32 based on number of lines in each mode.
Diffstat (limited to 'gst.c')
-rw-r--r--gst.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst.c b/gst.c
index 7fadc18..2a56a4c 100644
--- a/gst.c
+++ b/gst.c
@@ -224,9 +224,6 @@ uint8_t vdp_load_gst(vdp_context * context, FILE * state_file)
return 0;
}
context->double_res = (context->regs[REG_MODE_4] & (BIT_INTERLACE | BIT_DOUBLE_RES)) == (BIT_INTERLACE | BIT_DOUBLE_RES);
- if (!context->double_res) {
- context->framebuf = context->oddbuf;
- }
latch_mode(context);
if (fread(tmp_buf, 1, CRAM_SIZE*2, state_file) != CRAM_SIZE*2) {
fputs("Failed to read CRAM from savestate\n", stderr);