mini_dump: Cleanup and add comments

Removes some unnecessary code.

wip
This commit is contained in:
lat9nq 2022-07-13 12:14:48 -04:00
parent f958cbc737
commit 3dbaafe1f3
3 changed files with 86 additions and 42 deletions

View file

@ -4097,6 +4097,7 @@ int main(int argc, char* argv[]) {
#ifdef YUZU_DBGHELP
PROCESS_INFORMATION pi;
if (!is_child && Settings::values.create_crash_dumps.GetValue() && SpawnDebuggee(argv[0], pi)) {
// Delete the config object so that it doesn't save when the program exits
config.reset(nullptr);
DebugDebuggee(pi);
return 0;