pm: Launch set.mitm earlier in boot.

This commit is contained in:
Michael Scire committed 2019-01-22 05:38:27 -08:00
1 parent 2165555170
commit f61f5feaf4
3 files changed
+45 -8

No files matched your search

+3 -3
View File
@@ -148,15 +148,15 @@ void __appExit(void) {
int main(int argc, char **argv)
{
Thread process_track_thread = {0};
HosThread process_track_thread;
consoleDebugInit(debugDevice_SVC);
/* Initialize and spawn the Process Tracking thread. */
Registration::InitializeSystemResources();
if (R_FAILED(threadCreate(&process_track_thread, &ProcessTracking::MainLoop, NULL, 0x4000, 0x15, 0))) {
if (R_FAILED(process_track_thread.Initialize(&ProcessTracking::MainLoop, NULL, 0x4000, 0x15))) {
/* TODO: Panic. */
}
if (R_FAILED(threadStart(&process_track_thread))) {
if (R_FAILED(process_track_thread.Start())) {
/* TODO: Panic. */
}