Create dedicated enum for EFB/XFB gamma correction
This also changes the behavior for the invalid gamma value, which was confirmed to behave the same as 2.2. Note that currently, the gamma value is only used for XFB copies, even though hardware testing indicates it also works for EFB copies. This will be changed in a later commit.
This commit is contained in:
1 parent
dd41a72378
commit
bed278d3b7
3 files changed
+23
-21
No files matched your search
@@ -593,7 +593,7 @@ void FifoPlayer::ClearEfb()
|
||||
copy.clamp_bottom = false;
|
||||
copy.unknown_bit = false;
|
||||
copy.target_pixel_format = static_cast<u32>(EFBCopyFormat::RGBA8) << 1;
|
||||
copy.gamma = 0;
|
||||
copy.gamma = GammaCorrection::Gamma1_0;
|
||||
copy.half_scale = false;
|
||||
copy.scale_invert = false;
|
||||
copy.clear = true;
|
||||
|
||||
Reference in new issue
Block a user