mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
BootManager: Avoid Global System Accessor
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user