diff options
author | Subv <subv2112@gmail.com> | 2015-03-08 12:05:17 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-03-09 20:12:39 -0500 |
commit | 414b0741c445a7960f9ad1ee4a5672f8af4760db (patch) | |
tree | 5218b976cf8e15e745a9cf6037a7c133b7559fed /src/video_core/pica.h | |
parent | 4b8d4d0ed57bf0761736c8320c5711e728c116a1 (diff) |
GPU: Implemented more depth buffer formats.
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r-- | src/video_core/pica.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |