mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-24 04:26:25 +12:00
Allow overriding config/data paths in emulator
This commit is contained in:
parent
0a49dc0af7
commit
ea03d135da
2 changed files with 8 additions and 4 deletions
|
@ -87,6 +87,7 @@ class Emulator {
|
|||
bool frameDone = false;
|
||||
|
||||
Emulator();
|
||||
Emulator(const std::filesystem::path& configPath);
|
||||
~Emulator();
|
||||
|
||||
void step();
|
||||
|
@ -129,10 +130,10 @@ class Emulator {
|
|||
Renderer* getRenderer() { return gpu.getRenderer(); }
|
||||
u64 getTicks() { return cpu.getTicks(); }
|
||||
|
||||
std::filesystem::path getConfigPath();
|
||||
std::filesystem::path getAndroidAppPath();
|
||||
virtual std::filesystem::path getConfigPath();
|
||||
virtual std::filesystem::path getAndroidAppPath();
|
||||
// Get the root path for the emulator's app data
|
||||
std::filesystem::path getAppDataRoot();
|
||||
virtual std::filesystem::path getAppDataRoot();
|
||||
|
||||
std::span<u8> getSMDH();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue