refixed "simpsons" and "rattlenroll" broblems after fixing "youngindiana jones" ;)

This commit is contained in:
CaH4e3 2010-06-13 04:19:46 +00:00
parent a7bb263e13
commit 742322bfc1
1 changed files with 188 additions and 172 deletions

View File

@ -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)