MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / UpdateOperationMode

Function UpdateOperationMode

projects/uSystem/source/main.cpp:658–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656 }
657
658 void UpdateOperationMode() {
659 // Thank you so much libnx for not exposing the actual call to get the mode via IPC :P
660 // We're qlaunch, not using appletMainLoop, thus we have to take care of this manually...
661 u8 raw_mode = 0;
662 UL_RC_ASSERT(serviceDispatchOut(appletGetServiceSession_CommonStateGetter(), 5, raw_mode));
663 g_OperationMode = static_cast<AppletOperationMode>(raw_mode);
664 }
665
666 void HandleAppletMessage() {
667 u32 finished_verify_count = 0;

Callers 2

HandleAppletMessageFunction · 0.85
InitializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected