summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-03-09 15:01:41 +0100
committerSubv <subv2112@gmail.com>2015-03-09 15:01:41 +0100
commita762f9c176d6298ec4056bcdb0cb2cd274e44bbf (patch)
tree11ede88b83432438c383d8c08b0ca1e8839620d5 /src/core/hw/gpu.cpp
parentMerge pull request #538 from yuriks/perf-stat (diff)
downloadyuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.tar
yuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.tar.gz
yuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.tar.bz2
yuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.tar.lz
yuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.tar.xz
yuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.tar.zst
yuzu-a762f9c176d6298ec4056bcdb0cb2cd274e44bbf.zip
Diffstat (limited to '')
-rw-r--r--src/core/hw/gpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 424ce2ca7..b7102b874 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -81,9 +81,9 @@ inline void Write(u32 addr, const T data) {
if (config.fill_24bit) {
// fill with 24-bit values
for (u8* ptr = start; ptr < end; ptr += 3) {
- ptr[0] = config.value_24bit_b;
+ ptr[0] = config.value_24bit_r;
ptr[1] = config.value_24bit_g;
- ptr[2] = config.value_24bit_r;
+ ptr[2] = config.value_24bit_b;
}
} else if (config.fill_32bit) {
// fill with 32-bit values