mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
code: Add additional logging during init
This commit is contained in:
parent
7c7e9427ba
commit
410ba37ec2
7 changed files with 20 additions and 16 deletions
|
@ -29,12 +29,10 @@ namespace Core {
|
|||
static constexpr s32 WindowWidth = 1280;
|
||||
static constexpr s32 WindowHeight = 720;
|
||||
|
||||
Emulator::Emulator() : window{WindowWidth, WindowHeight, controller} {
|
||||
Emulator::Emulator() : memory{Core::Memory::Instance()},
|
||||
window{WindowWidth, WindowHeight, controller} {
|
||||
g_window = &window;
|
||||
|
||||
// Initialize memory system as early as possible to reserve mappings.
|
||||
[[maybe_unused]] const auto* memory = Core::Memory::Instance();
|
||||
|
||||
// Read configuration file.
|
||||
const auto config_dir = Common::FS::GetUserPath(Common::FS::PathType::UserDir);
|
||||
Config::load(config_dir / "config.toml");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue