mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-23 15:23:00 +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
|
@ -17,7 +17,10 @@ __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
|
|||
#endif
|
||||
|
||||
Emulator::Emulator()
|
||||
: config(getConfigPath()), kernel(cpu, memory, gpu, config), cpu(memory, kernel, *this), gpu(memory, config), memory(cpu.getTicksRef(), config),
|
||||
: Emulator(getConfigPath()) {}
|
||||
|
||||
Emulator::Emulator(const std::filesystem::path& configPath)
|
||||
: config(configPath), kernel(cpu, memory, gpu, config), cpu(memory, kernel, *this), gpu(memory, config), memory(cpu.getTicksRef(), config),
|
||||
cheats(memory, kernel.getServiceManager().getHID()), lua(*this), running(false)
|
||||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||
,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue