mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
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).
This commit is contained in:
parent
850e524514
commit
cd2cc5fa22
@ -591,7 +591,7 @@ void FifoPlayer::ClearEfb()
|
|||||||
UPE_Copy copy = bpmem.triggerEFBCopy;
|
UPE_Copy copy = bpmem.triggerEFBCopy;
|
||||||
copy.clamp_top = false;
|
copy.clamp_top = false;
|
||||||
copy.clamp_bottom = false;
|
copy.clamp_bottom = false;
|
||||||
copy.yuv = false;
|
copy.unknown_bit = false;
|
||||||
copy.target_pixel_format = static_cast<u32>(EFBCopyFormat::RGBA8) << 1;
|
copy.target_pixel_format = static_cast<u32>(EFBCopyFormat::RGBA8) << 1;
|
||||||
copy.gamma = 0;
|
copy.gamma = 0;
|
||||||
copy.half_scale = false;
|
copy.half_scale = false;
|
||||||
|
@ -2039,9 +2039,9 @@ union UPE_Copy
|
|||||||
{
|
{
|
||||||
u32 Hex;
|
u32 Hex;
|
||||||
|
|
||||||
BitField<0, 1, bool, u32> clamp_top; // if set clamp top
|
BitField<0, 1, bool, u32> clamp_top; // if set clamp top
|
||||||
BitField<1, 1, bool, u32> clamp_bottom; // if set clamp bottom
|
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<2, 1, u32> unknown_bit;
|
||||||
BitField<3, 4, u32> target_pixel_format; // realformat is (fmt/2)+((fmt&1)*8).... for some reason
|
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)
|
// the msb is the lsb (pattern: cycling right shift)
|
||||||
// gamma correction.. 0 = 1.0 ; 1 = 1.7 ; 2 = 2.2 ; 3 is reserved
|
// 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(),
|
return fmt::format_to(ctx.out(),
|
||||||
"Clamping: {}\n"
|
"Clamping: {}\n"
|
||||||
"Converting from RGB to YUV: {}\n"
|
"Unknown bit: {}\n"
|
||||||
"Target pixel format: {}\n"
|
"Target pixel format: {}\n"
|
||||||
"Gamma correction: {}\n"
|
"Gamma correction: {}\n"
|
||||||
"Half scale: {}\n"
|
"Half scale: {}\n"
|
||||||
@ -2110,7 +2110,7 @@ struct fmt::formatter<UPE_Copy>
|
|||||||
"Copy to XFB: {}\n"
|
"Copy to XFB: {}\n"
|
||||||
"Intensity format: {}\n"
|
"Intensity format: {}\n"
|
||||||
"Automatic color conversion: {}",
|
"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],
|
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],
|
copy.frame_to_field, no_yes[copy.copy_to_xfb], no_yes[copy.intensity_fmt],
|
||||||
no_yes[copy.auto_conv]);
|
no_yes[copy.auto_conv]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user