aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-07-30 10:23:14 -0400
committerlat9nq <lat9nq@gmail.com>2022-09-04 21:36:35 -0400
commit12f7d42d32511955ee27875d42b6e8e3cda9e523 (patch)
tree842c5eadfa5d214a7fc17b4ef8ff86b7d4384e3d /src/yuzu/main.cpp
parent45b343d1d09f30193a1da52924ee83a834356fae (diff)
mini_dump: Address review feedback
Uses fmt::print as opposed to std::fprintf. Adds a missing return. static's a single-use function. Initializes structs as opposed to std::memset where possible. Fixes CMake linkage. Co-authored-by: Lioncash <mathew1800@gmail.com> mini_dump: Use a namespace Co-authored-by: Lioncash <mathew1800@gmail.com>
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index ff59c64c3b..bda9986e12 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -4096,10 +4096,11 @@ 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)) {
+ if (!is_child && Settings::values.create_crash_dumps.GetValue() &&
+ MiniDump::SpawnDebuggee(argv[0], pi)) {
// Delete the config object so that it doesn't save when the program exits
config.reset(nullptr);
- DebugDebuggee(pi);
+ MiniDump::DebugDebuggee(pi);
return 0;
}
#endif