mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
[FS] More concrete path impl
This commit is contained in:
parent
1730ab9734
commit
deaf7d518c
6 changed files with 55 additions and 21 deletions
|
@ -8,8 +8,8 @@ bool SaveDataArchive::openFile(const FSPath& path) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (path.type == PathType::UTF16 && mem.readString(path.pointer, path.size) == "/") {
|
||||
printf("Reading root save data dir\n");
|
||||
if (path.type == PathType::UTF16 /* && path.utf16_string == u"/game_header" */) {
|
||||
printf("Opened file from the SaveData archive \n");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue