diff --git a/nx/include/switch/runtime/devices/romfs_dev.h b/nx/include/switch/runtime/devices/romfs_dev.h index 7582a03b..63a0786f 100644 --- a/nx/include/switch/runtime/devices/romfs_dev.h +++ b/nx/include/switch/runtime/devices/romfs_dev.h @@ -88,7 +88,7 @@ Result romfsMountFromCurrentProcess(const char *name); * @param program_id ProgramId to mount. * @param name Device mount name. */ -Result romfsMountProgram(u64 program_id, const char *name); +Result romfsMountDataStorageFromProgram(u64 program_id, const char *name); /** * @brief Mounts RomFS from a file path in a mounted fsdev device. diff --git a/nx/source/runtime/devices/romfs_dev.c b/nx/source/runtime/devices/romfs_dev.c index 34d23978..b1e4c7f0 100644 --- a/nx/source/runtime/devices/romfs_dev.c +++ b/nx/source/runtime/devices/romfs_dev.c @@ -342,7 +342,7 @@ Result romfsMountFromCurrentProcess(const char *name) { return romfsMountFromStorage(storage, 0, name); } -Result romfsMountProgram(u64 program_id, const char *name) { +Result romfsMountDataStorageFromProgram(u64 program_id, const char *name) { FsStorage storage; Result rc = fsOpenDataStorageByProgramId(&storage, program_id);