mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Make battery stuff configurable
This commit is contained in:
parent
950e5da03a
commit
51b2b8eee5
9 changed files with 36 additions and 12 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "services/ssl.hpp"
|
||||
#include "services/y2r.hpp"
|
||||
|
||||
class EmulatorConfig;
|
||||
// More circular dependencies!!
|
||||
class Kernel;
|
||||
|
||||
|
@ -80,7 +81,7 @@ class ServiceManager {
|
|||
void subscribe(u32 messagePointer);
|
||||
|
||||
public:
|
||||
ServiceManager(std::span<u32, 16> regs, Memory& mem, GPU& gpu, u32& currentPID, Kernel& kernel);
|
||||
ServiceManager(std::span<u32, 16> regs, Memory& mem, GPU& gpu, u32& currentPID, Kernel& kernel, const EmulatorConfig& config);
|
||||
void reset();
|
||||
void initializeFS() { fs.initializeFilesystem(); }
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue