From 4a56a7e2dfe615e03e81e29952003291090470fe Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 22 Aug 2016 09:46:18 -0700 Subject: 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. --- gst.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gst.c') 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); -- cgit v1.2.3