From: kub Date: Thu, 2 Jan 2025 22:39:04 +0000 (+0100) Subject: sms, fix sprite table address in TMS modes X-Git-Tag: v2.04~92 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ee4d23d07345dacb0af075cbec67d39d6276dfa;p=picodrive.git sms, fix sprite table address in TMS modes --- diff --git a/pico/mode4.c b/pico/mode4.c index 38002536..05c290e1 100644 --- a/pico/mode4.c +++ b/pico/mode4.c @@ -439,7 +439,7 @@ static void ParseSpritesTMS(int scanline) xoff = line_offset; - sat = (u8 *)PicoMem.vramb + ((pv->reg[5] & 0x7e) << 7); + sat = (u8 *)PicoMem.vramb + ((pv->reg[5] & 0x7f) << 7); if (pv->reg[1] & 2) { addr_mask = 0xfc; h = 16; } else {