diff --git a/src/xenia/app/xenia_main.cc b/src/xenia/app/xenia_main.cc index 1b6e1017b..f2c58ffdc 100644 --- a/src/xenia/app/xenia_main.cc +++ b/src/xenia/app/xenia_main.cc @@ -196,11 +196,6 @@ int xenia_main(const std::vector& args) { Profiler::Initialize(); Profiler::ThreadEnter("main"); - if (cvars::discord) { - discord::DiscordPresence::Initialize(); - discord::DiscordPresence::NotPlaying(); - } - // Figure out where content should go. std::wstring content_root = xe::to_wstring(cvars::content_root); std::wstring config_folder; @@ -232,6 +227,11 @@ int xenia_main(const std::vector& args) { XELOGI("Content root: %S", content_root.c_str()); config::SetupConfig(config_folder); + if (cvars::discord) { + discord::DiscordPresence::Initialize(); + discord::DiscordPresence::NotPlaying(); + } + // Create the emulator but don't initialize so we can setup the window. auto emulator = std::make_unique(L"", content_root);