dmnt-cheat: skeleton decode, fix missing libnx call

This commit is contained in:
Michael Scire committed 2019-03-03 06:44:21 -08:00
1 parent bc6ad53018
commit af70a4a3a3
3 files changed
+103 -7

No files matched your search

+7 -1
View File
@@ -57,6 +57,8 @@ void __libnx_initheap(void) {
void __appInit(void) {
Result rc;
SetFirmwareVersionForLibnx();
rc = smInitialize();
if (R_FAILED(rc)) {
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_SM));
@@ -133,7 +135,11 @@ int main(int argc, char **argv)
auto server_manager = new WaitableManager(5);
/* Create services. */
server_manager->AddWaitable(new ServiceServer<DebugMonitorService>("dmnt:-", 4));
/* TODO: Implement rest of dmnt:- in ams.tma development branch. */
/* server_manager->AddWaitable(new ServiceServer<DebugMonitorService>("dmnt:-", 4)); */
server_manager->AddWaitable(new ServiceServer<DmntCheatService>("dmnt:cht", 1));
/* Loop forever, servicing our services. */