diff --git a/source/common/common.h b/source/common/common.h index 4adb905..87cf5f6 100644 --- a/source/common/common.h +++ b/source/common/common.h @@ -52,7 +52,7 @@ #define VERSION "1.2.6" // input / output paths -#define INPUT_PATHS "0:/gm9/support", "0:", "0:/files9" // legacy paths +#define SUPPORT_PATHS "0:/gm9/support", "0:", "0:/files9" // legacy paths #define SCRIPT_PATH "0:/gm9/scripts" #define OUTPUT_PATH "0:/gm9/out" diff --git a/source/crypto/keydb.c b/source/crypto/keydb.c index 8735482..953c0b2 100644 --- a/source/crypto/keydb.c +++ b/source/crypto/keydb.c @@ -157,7 +157,7 @@ u32 CheckKeySlot(u32 keyslot, char type) u32 LoadKeyFromFile(u8* key, u32 keyslot, char type, char* id) { - const char* base[] = { INPUT_PATHS }; + const char* base[] = { SUPPORT_PATHS }; u8 keystore[16] __attribute__((aligned(32))) = {0}; bool found = false; diff --git a/source/game/ncch.c b/source/game/ncch.c index 96fb2c8..0c4259e 100644 --- a/source/game/ncch.c +++ b/source/game/ncch.c @@ -108,7 +108,7 @@ u32 GetNcchSeed(u8* seed, NcchHeader* ncch) { } // not found -> try seeddb.bin - const char* base[] = { INPUT_PATHS }; + const char* base[] = { SUPPORT_PATHS }; for (u32 i = 0; i < (sizeof(base)/sizeof(char*)); i++) { SeedInfo* seeddb = (SeedInfo*) (TEMP_BUFFER + (TEMP_BUFFER_SIZE/2)); snprintf(path, 128, "%s/%s", base[i], SEEDDB_NAME); diff --git a/source/game/ticket.c b/source/game/ticket.c index ffd425d..e1e22e3 100644 --- a/source/game/ticket.c +++ b/source/game/ticket.c @@ -105,7 +105,7 @@ u32 FindTitleKey(Ticket* ticket, u8* title_id) { // search for a titlekey inside encTitleKeys.bin / decTitleKeys.bin // when found, add it to the ticket for (u32 enc = 0; (enc <= 1) && !found; enc++) { - const char* base[] = { INPUT_PATHS }; + const char* base[] = { SUPPORT_PATHS }; for (u32 i = 0; (i < (sizeof(base)/sizeof(char*))) && !found; i++) { TitleKeysInfo* tikdb = (TitleKeysInfo*) (TEMP_BUFFER + (TEMP_BUFFER_SIZE/2)); char path[64];