mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
INPUT_PATHS -> SUPPORT_PATHS
This commit is contained in:
parent
04985b9a4c
commit
7522f73685
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user