Skip to content

Commit

Permalink
sms, fix sprite table address in TMS modes
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Jan 2, 2025
1 parent 071a9e5 commit 1ee4d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico/mode4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1ee4d23

Please sign in to comment.