]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/tom.cpp
Fixed OP regression in Rayman, probably others.
[virtualjaguar] / src / tom.cpp
index 10a29f0f1913d1f0d4d2bc1d711376d6cde7ad47..046547248d5c41372490a2a99784e7fa476ee179 100644 (file)
@@ -775,7 +775,8 @@ void TOMExecScanline(uint16 scanline, bool render)
 //Hm, it seems that the OP needs to execute from zero, so let's try it:
 // And it works! But need to do some optimizations in the OP to keep it from attempting
 // to do a scanline render in the non-display area... [DONE]
-#if 0
+//this seems to cause a regression in certain games, like rayman
+#if 1
        if (scanline >= (uint16)GET16(tomRam8, VDB) && scanline < (uint16)GET16(tomRam8, VDE))
        {
                if (render)