GPU: Implemented more depth buffer formats.

This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
This commit is contained in:
Subv 2015-03-08 12:05:17 -05:00
parent 4b8d4d0ed5
commit 414b0741c4
5 changed files with 120 additions and 14 deletions

View file

@ -418,6 +418,13 @@ struct Regs {
RGBA4 = 4,
};
enum DepthFormat : u32 {
D16 = 0,
D24 = 2,
D24S8 = 3
};
INSERT_PADDING_WORDS(0x6);
u32 depth_format;