# HG changeset patch # User Michael Pavone # Date 1585808147 25200 # Node ID 2c742812bcbb4b697a6b1710c93773eaed5d9324 # Parent 00fb998054453261542102b396514493c93698d5 Fix regression at the very start of The Revenge of Shinobi diff -r 00fb99805445 -r 2c742812bcbb vdp.c --- a/vdp.c Sat Mar 28 15:46:53 2020 -0700 +++ b/vdp.c Wed Apr 01 23:15:47 2020 -0700 @@ -3500,6 +3500,8 @@ } else if (context->regs[REG_MODE_1] & BIT_MODE_4) { bg_index = 0x10 + (context->regs[REG_BG_COLOR] & 0xF); bg_color = context->colors[MODE4_OFFSET + bg_index]; + } else { + bg_color = render_map_color(0, 0, 0); } if (context->done_composite) { uint8_t pixel = context->compositebuf[dst-context->output];