1
0
Fork 0
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:
Michael Scire 2018-07-29 16:45:29 -07:00
parent 3a2520a3b7
commit c547ed50aa

View file

@ -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)) {