Compare commits

...

1 Commits

Author SHA1 Message Date
coah
5a4e6d617b Match iplSystem init 2026-09-22 04:14:46 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -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 {

View File

@@ -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));