BootManager: Avoid Global System Accessor

This commit is contained in:
mitaclaw
2024-03-01 23:39:04 -08:00
parent 5a81916ee9
commit 16c609dcd4
5 changed files with 12 additions and 6 deletions

View File

@ -5,12 +5,17 @@
#include <memory>
namespace Core
{
class System;
}
struct BootParameters;
struct WindowSystemInfo;
namespace BootManager
{
bool BootCore(std::unique_ptr<BootParameters> parameters, const WindowSystemInfo& wsi);
bool BootCore(Core::System& system, std::unique_ptr<BootParameters> parameters,
const WindowSystemInfo& wsi);
// Synchronise Dolphin's configuration with the SYSCONF (which may have changed during emulation),
// and restore settings that were overriden by per-game INIs or for some other reason.