X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftom.cpp;h=82062bd1a7517baba30c081d2236687375f2af5c;hb=253f7b2713969c4982a3149c55e378db51d7791d;hp=08832a8ce3ccb3b3ed9c304c26cd5ca3e54df7a9;hpb=e285d9bb9ae73f64443fa4add30119dc422c4d08;p=virtualjaguar diff --git a/src/tom.cpp b/src/tom.cpp index 08832a8..82062bd 100644 --- a/src/tom.cpp +++ b/src/tom.cpp @@ -780,10 +780,18 @@ void TOMExecScanline(uint16 scanline, bool render) // to do a scanline render in the non-display area... [DONE] //this seems to cause a regression in certain games, like rayman //which means I have to dig thru the asic nets to see what's wrong... +/* +No, the OP doesn't start until VDB, that much is certain. The thing is, VDB is the +HALF line that the OP starts on--which means that it needs to start at VDB / 2!!! + +Hrm, doesn't seem to be enough, though it should be... still sticks for 20 frames. +*/ #if 1 // 16 isn't enough, and neither is 32 for raptgun. 32 fucks up Rayman +// if (scanline >= ((uint16)GET16(tomRam8, VDB) / 2) && scanline < ((uint16)GET16(tomRam8, VDE) / 2)) if (scanline >= (uint16)GET16(tomRam8, VDB) && scanline < (uint16)GET16(tomRam8, VDE)) -// if (scanline >= ((uint16)GET16(tomRam8, VDB) - 32) && scanline < (uint16)GET16(tomRam8, VDE)) +// if (scanline >= ((uint16)GET16(tomRam8, VDB) - 16) && scanline < (uint16)GET16(tomRam8, VDE)) +// if (scanline >= 20 && scanline < (uint16)GET16(tomRam8, VDE)) { if (render) {