summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-02-22 16:00:32 -0800
committerPokechu22 <Pokechu022@gmail.com>2022-07-15 12:29:40 -0700
commitcd2cc5fa2278f451e84dd3d3595a7499ddd29678 (patch)
tree9c0f6de9ef64bfca1466a2b3a83e9cff9a4345d6 /Source/Core/VideoCommon
parent850e524514c364f7f619e891f4dc2d687fa019f9 (diff)
Rename EFB copy bit 2 from yuv to unknown_bit
It was named yuv in 522746b2c223f37c45569ee7fd4a226b278cb6d9, but hardware testing indicates that that bit does nothing (the intensity format bit enables YUV conversion, instead).
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/BPMemory.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/BPMemory.h b/Source/Core/VideoCommon/BPMemory.h
index 28155a2cd6..2a837c862b 100644
--- a/Source/Core/VideoCommon/BPMemory.h
+++ b/Source/Core/VideoCommon/BPMemory.h
@@ -2039,9 +2039,9 @@ union UPE_Copy
{
u32 Hex;
- BitField<0, 1, bool, u32> clamp_top; // if set clamp top
- BitField<1, 1, bool, u32> clamp_bottom; // if set clamp bottom
- BitField<2, 1, bool, u32> yuv; // if set, color conversion from RGB to YUV
+ BitField<0, 1, bool, u32> clamp_top; // if set clamp top
+ BitField<1, 1, bool, u32> clamp_bottom; // if set clamp bottom
+ BitField<2, 1, u32> unknown_bit;
BitField<3, 4, u32> target_pixel_format; // realformat is (fmt/2)+((fmt&1)*8).... for some reason
// the msb is the lsb (pattern: cycling right shift)
// gamma correction.. 0 = 1.0 ; 1 = 1.7 ; 2 = 2.2 ; 3 is reserved
@@ -2100,7 +2100,7 @@ struct fmt::formatter<UPE_Copy>
return fmt::format_to(ctx.out(),
"Clamping: {}\n"
- "Converting from RGB to YUV: {}\n"
+ "Unknown bit: {}\n"
"Target pixel format: {}\n"
"Gamma correction: {}\n"
"Half scale: {}\n"
@@ -2110,7 +2110,7 @@ struct fmt::formatter<UPE_Copy>
"Copy to XFB: {}\n"
"Intensity format: {}\n"
"Automatic color conversion: {}",
- clamp, no_yes[copy.yuv], copy.tp_realFormat(), gamma,
+ clamp, copy.unknown_bit, copy.tp_realFormat(), gamma,
no_yes[copy.half_scale], no_yes[copy.scale_invert], no_yes[copy.clear],
copy.frame_to_field, no_yes[copy.copy_to_xfb], no_yes[copy.intensity_fmt],
no_yes[copy.auto_conv]);