feat: add process crash popups
This commit is contained in:
@@ -902,4 +902,11 @@ namespace Sched {
|
||||
return &processTable[slot];
|
||||
}
|
||||
|
||||
int SpawnCrashPad() {
|
||||
// Spawn crashpad as a child of init (slot 0), not the crashing process.
|
||||
// We can't use the current process context since we're in ExitProcess.
|
||||
static constexpr const char* crashpadPath = "0:/apps/crashpad/crashpad.elf";
|
||||
return Spawn(crashpadPath, nullptr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user