Mount /app0 as read only

On real hardware, it's read only.
This commit is contained in:
Stephen Miller 2025-04-28 12:05:03 -05:00
parent 4118b5f87f
commit 9081778f9b

View File

@ -91,9 +91,9 @@ void Emulator::Run(const std::filesystem::path& file, const std::vector<std::str
// Applications expect to be run from /app0 so mount the file's parent path as app0. // Applications expect to be run from /app0 so mount the file's parent path as app0.
auto* mnt = Common::Singleton<Core::FileSys::MntPoints>::Instance(); auto* mnt = Common::Singleton<Core::FileSys::MntPoints>::Instance();
mnt->Mount(game_folder, "/app0"); mnt->Mount(game_folder, "/app0", true);
// Certain games may use /hostapp as well such as CUSA001100 // Certain games may use /hostapp as well such as CUSA001100
mnt->Mount(game_folder, "/hostapp"); mnt->Mount(game_folder, "/hostapp", true);
auto& game_info = Common::ElfInfo::Instance(); auto& game_info = Common::ElfInfo::Instance();