summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-03-12 03:39:48 +0100
committerGitHub <noreply@github.com>2024-03-12 03:39:48 +0100
commitd35a88564f06778e03cbfc332f1ab1fa4ab5f312 (patch)
tree670546b45d8f148dc503fd8523c6ec376040c0f7 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parent72bcdadc160255338f83b15587270a46974fc5a8 (diff)
parent16c609dcd45780a1cc97660d6e8a23936f9adfe3 (diff)
Merge pull request #12608 from mitaclaw/bootmanager-global-system
BootManager: Avoid Global System Accessor
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/MainNoGUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
index ff69e6bf7a..9db8ef8a47 100644
--- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp
+++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
@@ -24,6 +24,7 @@
#include "Core/Core.h"
#include "Core/DolphinAnalytics.h"
#include "Core/Host.h"
+#include "Core/System.h"
#include "UICommon/CommandLineParse.h"
#ifdef USE_DISCORD_PRESENCE
@@ -304,7 +305,7 @@ int main(int argc, char* argv[])
DolphinAnalytics::Instance().ReportDolphinStart("nogui");
- if (!BootManager::BootCore(std::move(boot), wsi))
+ if (!BootManager::BootCore(Core::System::GetInstance(), std::move(boot), wsi))
{
fprintf(stderr, "Could not boot the specified file\n");
return 1;