mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 01:12:33 +00:00
config: Don't load config in the Emulator class
Allows overriding of configs in frontends. Fix set fullscreen not working when specified in the CLI.
This commit is contained in:
parent
ee974414d2
commit
10cfcce903
@ -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 New Issue
Block a user