mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-07 04:34:48 +12:00
Add 3DSX RomFS reads via NCCH archive
This commit is contained in:
parent
53917841bc
commit
a380aa83f0
5 changed files with 15 additions and 8 deletions
src
|
@ -426,6 +426,10 @@ bool Emulator::loadROM(const std::filesystem::path& path) {
|
|||
reset(ReloadOption::NoReload);
|
||||
}
|
||||
|
||||
// Reset whatever state needs to be reset before loading a new ROM
|
||||
memory.loadedCXI = std::nullopt;
|
||||
memory.loaded3DSX = std::nullopt;
|
||||
|
||||
// Get path for saving files (AppData on Windows, /home/user/.local/share/ApplcationName on Linux, etc)
|
||||
// Inside that path, we be use a game-specific folder as well. Eg if we were loading a ROM called PenguinDemo.3ds, the savedata would be in
|
||||
// %APPDATA%/Alber/PenguinDemo/SaveData on Windows, and so on. We do this because games save data in their own filesystem on the cart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue