mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Add SystemSaveData::OpenFile and split up frd:u and frd:a
This commit is contained in:
parent
c48f8327c6
commit
7c2167e0f2
7 changed files with 61 additions and 12 deletions
|
@ -53,6 +53,7 @@ void FSService::initializeFilesystem() {
|
|||
|
||||
const auto savePath = IOFile::getAppData() / "SaveData"; // Create SaveData
|
||||
const auto formatPath = IOFile::getAppData() / "FormatInfo"; // Create folder for storing archive formatting info
|
||||
const auto systemSaveDataPath = IOFile::getAppData() / ".." / "SharedFiles" / "SystemSaveData";
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
||||
|
@ -71,6 +72,10 @@ void FSService::initializeFilesystem() {
|
|||
if (!fs::is_directory(formatPath)) {
|
||||
fs::create_directories(formatPath);
|
||||
}
|
||||
|
||||
if (!fs::is_directory(systemSaveDataPath)) {
|
||||
fs::create_directories(systemSaveDataPath);
|
||||
}
|
||||
}
|
||||
|
||||
ArchiveBase* FSService::getArchiveFromID(u32 id, const FSPath& archivePath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue