X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgpu.cpp;h=4729126928d99b4f1e3f2c4eb941b79d5194afcb;hb=21010310cfb50e9bd58f55ebecbf26b990c785bd;hp=681cbcf1fa558c1fa53fdb70f0ce6ab06bf12c7a;hpb=54ebcdad4e93c1acb496a3ed2f926e898d1b1cbf;p=virtualjaguar diff --git a/src/gpu.cpp b/src/gpu.cpp index 681cbcf..4729126 100644 --- a/src/gpu.cpp +++ b/src/gpu.cpp @@ -12,6 +12,7 @@ // Same problem with ADDC... // +#include #include "gpu.h" //#define GPU_DEBUG @@ -239,7 +240,7 @@ static void gpu_opcode_pack(void); //This is wrong, wrong, WRONG, but it seems to work for the time being... //(That is, it fixes Flip Out which relies on GPU timing rather than semaphores. Bad developers! Bad!) //What's needed here is a way to take pipeline effects into account (including pipeline stalls!)... -uint8 gpu_opcode_cycles[64] = +/*uint8 gpu_opcode_cycles[64] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -249,7 +250,18 @@ uint8 gpu_opcode_cycles[64] = 2, 2, 2, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 3, 3, 1, 1, 1, 1 -}; +};//*/ +uint8 gpu_opcode_cycles[64] = +{ + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1 +};//*/ void (*gpu_opcode[64])()= {