1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Code cleanup in GBI.h:

fix idents and remove unused field "text"
This commit is contained in:
Sergey Lipskiy 2014-09-09 17:00:32 +07:00
parent 557874f896
commit 8afec13cb9

7
GBI.h
View File

@ -58,9 +58,9 @@ static const int numMicrocodeTypes = 11;
// Useful macros for decoding GBI command's parameters // Useful macros for decoding GBI command's parameters
#define _SHIFTL( v, s, w ) \ #define _SHIFTL( v, s, w ) \
(((u32)v & ((0x01 << w) - 1)) << s) (((u32)v & ((0x01 << w) - 1)) << s)
#define _SHIFTR( v, s, w ) \ #define _SHIFTR( v, s, w ) \
(((u32)v >> s) & ((0x01 << w) - 1)) (((u32)v >> s) & ((0x01 << w) - 1))
// BG flags // BG flags
#define G_BGLT_LOADBLOCK 0x0033 #define G_BGLT_LOADBLOCK 0x0033
@ -447,7 +447,7 @@ static const char *AlphaCompareText[] =
static const char *DepthSourceText[] = static const char *DepthSourceText[] =
{ {
"G_ZS_PIXEL", "G_ZS_PRIM" "G_ZS_PIXEL", "G_ZS_PRIM"
}; };
static const char *AlphaDitherText[] = static const char *AlphaDitherText[] =
@ -686,7 +686,6 @@ struct MicrocodeInfo
u32 type; u32 type;
u32 NoN; u32 NoN;
u32 crc; u32 crc;
u32 *text;
MicrocodeInfo *higher, *lower; MicrocodeInfo *higher, *lower;
}; };