rainbow: fixed Sprite Extended Mode

This commit is contained in:
contact@brokestudio.fr 2023-11-02 18:48:28 +01:00
parent 2b26826ab5
commit a4cc481ac5
1 changed files with 2 additions and 2 deletions

View File

@ -856,7 +856,7 @@ uint8 FASTCALL Rainbow2PPURead(uint32 A) {
if (A < 0x2000) // pattern table / CHR data
{
if ((ppuphase == PPUPHASE_OBJ) & (ScreenON)) // sprite fetch
if (ppuphase == PPUPHASE_OBJ && SpriteON) // sprite fetch
{
if (chr_spr_ext_mode)
if (Sprite16)
@ -869,7 +869,7 @@ uint8 FASTCALL Rainbow2PPURead(uint32 A) {
}
}
if ((ppuphase == PPUPHASE_BG) & (ScreenON)) // tile fetch
if (ppuphase == PPUPHASE_BG && ScreenON) // tile fetch
{
if(split)