Code cleanup.

This commit is contained in:
Steven Smith
2015-01-25 19:04:27 -08:00
parent e60b6b8f23
commit 9b7c6b8c0d
17 changed files with 443 additions and 414 deletions
+7 -7
View File
@@ -18,12 +18,6 @@ typedef enum {
TRADITIONAL_CHINESE
} SMDHTitleLanguage;
typedef struct {
u16 shortDescription[0x40] = {0};
u16 longDescription[0x80] = {0};
u16 publisher[0x40] = {0};
} SMDHTitle;
// TODO: Provide values to set ratings to.
typedef enum {
CERO = 0,
@@ -47,7 +41,7 @@ typedef enum {
TAIWAN = 0x40,
// Not a bitmask, but a value.
REGION_FREE = 0x7FFFFFFF
REGION_FREE = 0x7FFFFFFF
} SMDHRegionFlag;
typedef enum {
@@ -63,6 +57,12 @@ typedef enum {
DISABLE_SAVE_BACKUPS = 0x0400
} SMDHFlag;
typedef struct {
u16 shortDescription[0x40] = {0};
u16 longDescription[0x80] = {0};
u16 publisher[0x40] = {0};
} SMDHTitle;
typedef struct {
u8 gameRatings[0x10] = {0};
u32 regionLock = REGION_FREE;