mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Code cleanup in GBI.h:
fix idents and remove unused field "text"
This commit is contained in:
parent
557874f896
commit
8afec13cb9
7
GBI.h
7
GBI.h
|
@ -58,9 +58,9 @@ static const int numMicrocodeTypes = 11;
|
|||
|
||||
// Useful macros for decoding GBI command's parameters
|
||||
#define _SHIFTL( v, s, w ) \
|
||||
(((u32)v & ((0x01 << w) - 1)) << s)
|
||||
(((u32)v & ((0x01 << w) - 1)) << s)
|
||||
#define _SHIFTR( v, s, w ) \
|
||||
(((u32)v >> s) & ((0x01 << w) - 1))
|
||||
(((u32)v >> s) & ((0x01 << w) - 1))
|
||||
|
||||
// BG flags
|
||||
#define G_BGLT_LOADBLOCK 0x0033
|
||||
|
@ -447,7 +447,7 @@ static const char *AlphaCompareText[] =
|
|||
|
||||
static const char *DepthSourceText[] =
|
||||
{
|
||||
"G_ZS_PIXEL", "G_ZS_PRIM"
|
||||
"G_ZS_PIXEL", "G_ZS_PRIM"
|
||||
};
|
||||
|
||||
static const char *AlphaDitherText[] =
|
||||
|
@ -686,7 +686,6 @@ struct MicrocodeInfo
|
|||
u32 type;
|
||||
u32 NoN;
|
||||
u32 crc;
|
||||
u32 *text;
|
||||
|
||||
MicrocodeInfo *higher, *lower;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user