mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-15 11:25:13 +00:00
config: Don't load config in the Emulator class (#1965)
Allows overriding of configs in frontends. Fix set fullscreen not working when specified in the CLI.
This commit is contained in:
parent
ab7e794f23
commit
468d7ea80e
|
@ -45,10 +45,6 @@ Frontend::WindowSDL* g_window = nullptr;
|
|||
namespace Core {
|
||||
|
||||
Emulator::Emulator() {
|
||||
// Read configuration file.
|
||||
const auto config_dir = Common::FS::GetUserPath(Common::FS::PathType::UserDir);
|
||||
Config::load(config_dir / "config.toml");
|
||||
|
||||
// Initialize NT API functions and set high priority
|
||||
#ifdef _WIN32
|
||||
Common::NtApi::Initialize();
|
||||
|
|
Loading…
Reference in a new issue