X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fjaguar.cpp;h=2cf99dbb09f5e23146858d75d5781cfc4a6c5894;hb=2136446c0d38d00a651d3eb665ee564b18f94b28;hp=2ce5da5a5cba671e6ab823a56e6a6e465142a866;hpb=5d5f8e3d02c101a98279fbe02189e4ee04b9981b;p=virtualjaguar diff --git a/src/jaguar.cpp b/src/jaguar.cpp index 2ce5da5..2cf99db 100644 --- a/src/jaguar.cpp +++ b/src/jaguar.cpp @@ -1817,7 +1817,8 @@ if (effect_start) BUTCHExec(RISCCyclesPerScanline); //if (start_logging) // WriteLog("About to execute GPU (%u)...\n", i); - GPUExec(RISCCyclesPerScanline); + if (vjs.GPUEnabled) + GPUExec(RISCCyclesPerScanline); if (vjs.DSPEnabled) { @@ -1968,7 +1969,9 @@ void JaguarExecuteNew(void) //WriteLog("JEN: Time to next event (%u) is %f usec (%u RISC cycles)...\n", nextEvent, timeToNextEvent, USEC_TO_RISC_CYCLES(timeToNextEvent)); m68k_execute(USEC_TO_M68K_CYCLES(timeToNextEvent)); - GPUExec(USEC_TO_RISC_CYCLES(timeToNextEvent)); + + if (vjs.GPUEnabled) + GPUExec(USEC_TO_RISC_CYCLES(timeToNextEvent)); if (vjs.DSPEnabled) {