diff --git a/src/emulator.cpp b/src/emulator.cpp index f0026068c..6f199649f 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -14,6 +14,7 @@ #include "common/debug.h" #include "common/logging/backend.h" #include "common/logging/log.h" +#include "common/thread.h" #include "core/ipc/ipc.h" #ifdef ENABLE_DISCORD_RPC #include "common/discord_rpc_handler.h" @@ -75,6 +76,7 @@ Emulator::~Emulator() {} void Emulator::Run(std::filesystem::path file, std::vector args, std::optional p_game_folder) { + Common::SetCurrentThreadName("Main Thread"); if (waitForDebuggerBeforeRun) { Debugger::WaitForDebuggerAttach(); }