Fix a typo in BPFunctions causing a PanicAlert in SW:RS2.

Really minor bugfix in DX9.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7285 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2011-03-04 23:14:21 +00:00
parent c569b33829
commit e8a1c04abf
3 changed files with 38 additions and 15 deletions

View File

@ -757,13 +757,23 @@ union ConstantAlpha
#define PIXELFMT_V8 6
#define PIXELFMT_YUV420 7
#define ZC_LINEAR 0
#define ZC_NEAR 1
#define ZC_MID 2
#define ZC_FAR 3
// It seems these Z formats aren't supported/were removed ?
#define ZC_INV_LINEAR 4
#define ZC_INV_NEAR 5
#define ZC_INV_MID 6
#define ZC_INV_FAR 7
union PE_CONTROL
{
struct
{
u32 pixel_format : 3; // PIXELFMT_X
u32 zformat : 3; // 0 - linear, 1 - near, 2 - mid, 3 - far
u32 zcomploc : 1; // 1: before tex stage
u32 pixel_format : 3; // PIXELFMT_X
u32 zformat : 3; // Z Compression for 16bit Z format
u32 zcomploc : 1; // 1: before tex stage
u32 unused : 17;
u32 rid : 8;
};