Ver Fonte

GPU: Use the correct position for the finished bit in memory fills

Subv há 11 anos atrás
pai
commit
0abba5874c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/hw/gpu.h

+ 1 - 1
src/core/hw/gpu.h

@@ -98,7 +98,7 @@ struct Regs {
             BitField<0, 1, u32> trigger;
             BitField<0, 1, u32> trigger;
 
 
             // Set to 1 upon completion.
             // Set to 1 upon completion.
-            BitField<0, 1, u32> finished;
+            BitField<1, 1, u32> finished;
 
 
             // 0: fill with 16- or 32-bit wide values; 1: fill with 24-bit wide values
             // 0: fill with 16- or 32-bit wide values; 1: fill with 24-bit wide values
             BitField<8, 1, u32> fill_24bit;
             BitField<8, 1, u32> fill_24bit;