- Several SaveData functions. Dysmantle and we are doomed should save and load now.

This commit is contained in:
raziel1000 2024-07-04 01:51:46 -06:00
parent 3875c00281
commit 0ecc54032c
7 changed files with 488 additions and 92 deletions

View file

@ -85,6 +85,9 @@ void Emulator::Run(const std::filesystem::path& file) {
}
mnt->Mount(mount_data_dir, "/data"); // should just exist, manually create with game serial
const auto& mount_temp_dir = Common::FS::GetUserPath(Common::FS::PathType::TempDataDir) / id;
if (!std::filesystem::exists(mount_temp_dir)) {
std::filesystem::create_directory(mount_temp_dir);
}
mnt->Mount(mount_temp_dir, "/temp0"); // called in app_content ==> stat/mkdir
// Initialize kernel and library facilities.