Store program ID and expose it in Lua (#414)

This commit is contained in:
wheremyfoodat
2024-02-22 14:26:31 +00:00
committed by GitHub
parent 7b580ac80e
commit 6279ed699a
8 changed files with 66 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
Emulator::Emulator()
: config(getConfigPath()), kernel(cpu, memory, gpu, config), cpu(memory, kernel, *this), gpu(memory, config), memory(cpu.getTicksRef(), config),
cheats(memory, kernel.getServiceManager().getHID()), lua(memory), running(false), programRunning(false)
cheats(memory, kernel.getServiceManager().getHID()), lua(*this), running(false), programRunning(false)
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
,
httpServer(this)