diff options
author | Subv <subv2112@gmail.com> | 2015-03-08 18:05:17 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-03-10 02:12:39 +0100 |
commit | 414b0741c445a7960f9ad1ee4a5672f8af4760db (patch) | |
tree | 5218b976cf8e15e745a9cf6037a7c133b7559fed /src/core/hw/gpu.cpp | |
parent | GPU/Textures: Fixed ETC texture decoding. (diff) | |
download | yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.gz yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.bz2 yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.lz yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.xz yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.zst yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hw/gpu.cpp | 4 |
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 |