# HG changeset patch # User Michael Pavone # Date 1693677136 25200 # Node ID bc17ece8dd005448a46b6af1afa363b1451a51ff # Parent 0e3118325c1c92253817aa49f564c48eb8917b3c Fix silly regression in SMS mode diff -r 0e3118325c1c -r bc17ece8dd00 vdp.c --- a/vdp.c Thu Aug 31 23:34:48 2023 -0700 +++ b/vdp.c Sat Sep 02 10:52:16 2023 -0700 @@ -1170,7 +1170,7 @@ address = mode4_address_map[address & 0x3FFF]; } //TODO: 128K VRAM support - context->prefetch = context->vdpmem[context->address & 0xFFFF]; + context->prefetch = context->vdpmem[address & 0xFFFF]; context->prefetch |= context->fifo[context->fifo_write].value & 0xFF00; context->flags |= FLAG_READ_FETCHED; //Should this happen after the prefetch or after the read?