aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-07-13 12:14:48 -0400
committerlat9nq <lat9nq@gmail.com>2022-09-04 21:36:05 -0400
commit3dbaafe1f3364db2721a3318e0cde66fa0c81a5e (patch)
treea5384cb6a2566728ba8daa95817dafe68c6fd5e8 /src/yuzu/main.cpp
parentf958cbc737542332ed4de9cf503fa4a8d1106564 (diff)
mini_dump: Cleanup and add comments
Removes some unnecessary code. wip
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index ca3f4da707..ff59c64c3b 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -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;