mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-13 23:46:40 +00:00
Loader: Fix exefs nsp support. Works on hardware.
This commit is contained in:
parent
3a2520a3b7
commit
c547ed50aa
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ Result ContentManagement::UnmountCode() {
|
||||||
|
|
||||||
Result ContentManagement::MountCodeNspOnSd(u64 tid) {
|
Result ContentManagement::MountCodeNspOnSd(u64 tid) {
|
||||||
char path[FS_MAX_PATH+1] = {0};
|
char path[FS_MAX_PATH+1] = {0};
|
||||||
snprintf(path, FS_MAX_PATH, "sdmc:/atmosphere/titles/%016lx/exefs.nsp", tid);
|
snprintf(path, FS_MAX_PATH, "@Sdcard:/atmosphere/titles/%016lx/exefs.nsp", tid);
|
||||||
Result rc = fsOpenFileSystemWithId(&g_CodeFileSystem, 0, FsFileSystemType_ApplicationPackage, path);
|
Result rc = fsOpenFileSystemWithId(&g_CodeFileSystem, 0, FsFileSystemType_ApplicationPackage, path);
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
|
|
Loading…
Reference in a new issue