]> Shamusworld >> Repos - virtualjaguar/commitdiff
Changed cycles to reflect pipelined architecture (still not right)
authorShamus Hammons <jlhamm@acm.org>
Fri, 4 Feb 2005 06:23:02 +0000 (06:23 +0000)
committerShamus Hammons <jlhamm@acm.org>
Fri, 4 Feb 2005 06:23:02 +0000 (06:23 +0000)
src/gpu.cpp

index 681cbcf1fa558c1fa53fdb70f0ce6ab06bf12c7a..f2cc7c74806935670afc33490e2fda4177a14081 100644 (file)
@@ -239,7 +239,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 +249,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])()= 
 {