mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 00:29:58 -04:00
Tell the game its own title id, 0400486024DEC000, for GetInfo and its save data checks.
GetInfo's program id and the application id IsSaveDataExisting and MountSaveDataReadOnly answer for were another game's. The game asking about its own save data by its own id was told there was none; asking with the other id mounted its own save. Both are now this game's id, and --probe-fs passes with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include "platform/platform.h"
|
||||
#include "romfs_path.h"
|
||||
|
||||
#define NX2NAVI_APPLICATION_ID 0x0100f2c0115b6000ull
|
||||
#define NX2NAVI_APPLICATION_ID 0x0400486024dec000ull // the game's title id, as svc.c PROGRAM_ID tells it
|
||||
#define FILE_BASE 0x200000000ull
|
||||
#define DIR_BASE 0x300000000ull
|
||||
#define NFILES 1024
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#define ST_FREE 0u
|
||||
#define ST_STACK 0xBu
|
||||
#define PERM_RW 3u
|
||||
#define PROGRAM_ID 0x0100f2c0115b6000ull
|
||||
#define PROGRAM_ID 0x0400486024dec000ull // the game's title id (GetInfo 18); fs_host.c NX2NAVI_APPLICATION_ID is the same
|
||||
|
||||
static uint64_t g_svcs;
|
||||
void (*volatile svc_test_exit_hook)(unsigned code);
|
||||
|
||||
Reference in New Issue
Block a user