mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
dmnt: Skeleton cheat service API.
This commit is contained in:
parent
89503049b3
commit
434f600f95
5 changed files with 239 additions and 3 deletions
|
@ -24,6 +24,7 @@
|
|||
#include <stratosphere.hpp>
|
||||
|
||||
#include "dmnt_service.hpp"
|
||||
#include "dmnt_cheat_service.hpp"
|
||||
|
||||
extern "C" {
|
||||
extern u32 __start__;
|
||||
|
@ -124,11 +125,12 @@ int main(int argc, char **argv)
|
|||
{
|
||||
consoleDebugInit(debugDevice_SVC);
|
||||
|
||||
/* Nintendo uses four threads. */
|
||||
auto server_manager = new WaitableManager(4);
|
||||
/* Nintendo uses four threads. Add a fifth for our cheat service. */
|
||||
auto server_manager = new WaitableManager(5);
|
||||
|
||||
/* Create services. */
|
||||
server_manager->AddWaitable(new ServiceServer<DebugMonitorService>("dmnt:-", 4));
|
||||
server_manager->AddWaitable(new ServiceServer<DmntCheatService>("dmnt:cht", 1));
|
||||
|
||||
/* Loop forever, servicing our services. */
|
||||
server_manager->Process();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue