refixed "simpsons" and "rattlenroll" broblems after fixing "youngindiana jones" ;)
This commit is contained in:
parent
a7bb263e13
commit
742322bfc1
20
src/ppu.cpp
20
src/ppu.cpp
|
@ -790,8 +790,24 @@ static DECLFR(A2007)
|
|||
if(!fceuindbg)
|
||||
#endif
|
||||
{
|
||||
if(scanline<240)
|
||||
Fixit1();
|
||||
if((ScreenON || SpriteON) && (scanline < 240))
|
||||
{
|
||||
uint32 rad=RefreshAddr;
|
||||
|
||||
if((rad&0x7000)==0x7000)
|
||||
{
|
||||
rad^=0x7000;
|
||||
if((rad&0x3E0)==0x3A0)
|
||||
rad^=0xBA0;
|
||||
else if((rad&0x3E0)==0x3e0)
|
||||
rad^=0x3e0;
|
||||
else
|
||||
rad+=0x20;
|
||||
}
|
||||
else
|
||||
rad+=0x1000;
|
||||
RefreshAddr=rad;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (INC32)
|
||||
|
|
Loading…
Reference in New Issue