From 414b0741c445a7960f9ad1ee4a5672f8af4760db Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 8 Mar 2015 12:05:17 -0500 Subject: GPU: Implemented more depth buffer formats. This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others --- src/video_core/pica.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/video_core/pica.h') diff --git a/src/video_core/pica.h b/src/video_core/pica.h index b14de927..6549693f 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -418,6 +418,13 @@ struct Regs { RGBA4 = 4, }; + enum DepthFormat : u32 { + D16 = 0, + + D24 = 2, + D24S8 = 3 + }; + INSERT_PADDING_WORDS(0x6); u32 depth_format; -- cgit v1.2.3