aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2015-03-08 12:05:17 -0500
committerGravatar Subv <subv2112@gmail.com>2015-03-09 20:12:39 -0500
commit414b0741c445a7960f9ad1ee4a5672f8af4760db (patch)
tree5218b976cf8e15e745a9cf6037a7c133b7559fed /src/video_core/pica.h
parent4b8d4d0ed57bf0761736c8320c5711e728c116a1 (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.h7
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;