Vif-Rec: Fix up nVifBlock structure, thanks sudonim1

This commit is contained in:
refractionpcsx2 2016-01-26 19:19:02 +00:00
parent 522149f503
commit 7185927e7e
1 changed files with 8 additions and 10 deletions

View File

@ -58,16 +58,14 @@ _vifT extern void dVifUnpack (const u8* data, bool isFill);
// nVifBlock - Ordered for Hashing; the 'num' field and the lower 6 bits of upkType are
// used as the hash bucket selector.
struct __aligned16 nVifBlock {
u8 upkType; // [01] Unpack Type [usn*1:mask*1:upk*4]
u8 num; // [00] Num Field
u16 cl; // [03] CL Field
u16 wl; // [08] WL Field
u8 mode; // [02] Mode Field
u32 mask; // [04] Mask Field
u8 aligned; // [09] Packet Alignment
u8 padding[2];// [10] through [11]
uptr startPtr; // [12] Start Ptr of RecGen Code
u8 num; // [00] Num Field
u8 upkType; // [01] Unpack Type [usn1:mask1:upk*4]
u8 mode; // [02] Mode Field
u8 aligned; // [03] Packet Alignment
u32 mask; // [04] Mask Field
u16 cl; // [08] CL Field
u16 wl; // [10] WL Field
uptr startPtr; // [12] Start Ptr of RecGen Code
}; // 16 bytes
#define _hSize 0x4000 // [usn*1:mask*1:upk*4:num*8] hash...