[codex] Match iplSystem init #90
@@ -10,7 +10,16 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _GXColor {
|
||||
#ifdef IPL_SYSTEM_COLOR_ALIGNMENT
|
||||
union {
|
||||
struct {
|
||||
u8 r, g, b, a;
|
||||
};
|
||||
u32 value;
|
||||
};
|
||||
#else
|
||||
u8 r, g, b, a; // 0x00
|
||||
#endif
|
||||
} GXColor;
|
||||
|
||||
typedef struct _GXColorS10 {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#define IPL_SYSTEM_COLOR_ALIGNMENT
|
||||
#include "iplSystem.h"
|
||||
#undef IPL_SYSTEM_COLOR_ALIGNMENT
|
||||
#include "iplSound.h"
|
||||
|
||||
#include "system/iplCdbWrapper.h"
|
||||
@@ -556,7 +558,6 @@ namespace ipl {
|
||||
// Default values for initial setup
|
||||
if (!SCGetConfigDoneFlag() && !SCGetConfigDoneFlag2()) {
|
||||
struct BlankNameStorage {
|
||||
u16 padding;
|
||||
SCOwnerNickname blankName;
|
||||
} blankNameStorage;
|
||||
memset(&blankNameStorage.blankName, 0, sizeof(blankNameStorage.blankName));
|
||||
|
||||
Reference in New Issue
Block a user