From 607d704707799abbe38cf22368c6a63399069348 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:10:55 +0100 Subject: [PATCH] Mount /data to /data instead of /data/gameid (#4066) --- src/emulator.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/emulator.cpp b/src/emulator.cpp index 5d3a652b8..27def3565 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -341,11 +341,8 @@ void Emulator::Run(std::filesystem::path file, std::vector args, g_window = window.get(); - const auto& mount_data_dir = Common::FS::GetUserPath(Common::FS::PathType::GameDataDir) / id; - if (!std::filesystem::exists(mount_data_dir)) { - std::filesystem::create_directory(mount_data_dir); - } - mnt->Mount(mount_data_dir, "/data"); // should just exist, manually create with game serial + const auto& mount_data_dir = Common::FS::GetUserPath(Common::FS::PathType::GameDataDir); + mnt->Mount(mount_data_dir, "/data"); // Mounting temp folders const auto& mount_temp_dir = Common::FS::GetUserPath(Common::FS::PathType::TempDataDir) / id;