Skip to content

Commit

Permalink
config: Don't load config in the Emulator class (#1965)
Browse files Browse the repository at this point in the history
Allows overriding of configs in frontends.

Fix set fullscreen not working when specified in the CLI.
  • Loading branch information
ngoquang2708 authored Dec 29, 2024
1 parent ab7e794 commit 468d7ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 468d7ea

Please sign in to comment.