From ab55c948a133bf204a62e847aeafe7bd1e2ef1bd Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Mon, 3 May 2021 16:38:05 +1200 Subject: [PATCH] Update zcompression format change TODO --- Source/Core/VideoCommon/BPFunctions.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp index f7ab305303..7599507a5b 100644 --- a/Source/Core/VideoCommon/BPFunctions.cpp +++ b/Source/Core/VideoCommon/BPFunctions.cpp @@ -222,8 +222,11 @@ void ClearScreen(const MathUtil::Rectangle& rc) void OnPixelFormatChange() { // TODO : Check for Z compression format change - // When using 16bit Z, the game may enable a special compression format which we need to handle - // If we don't, Z values will be completely screwed up, currently only Star Wars:RS2 uses that. + // When using 16bit Z, the game may enable a special compression format which we might need to + // handle. Only a few games like RS2 and RS3 even use z compression but it looks like they + // always use ZFAR when using 16bit Z (on top of linear 24bit Z) + + // Besides, we currently don't even emulate 16bit depth and force it to 24bit. /* * When changing the EFB format, the pixel data won't get converted to the new format but stays