26 lines
457 B
C++
26 lines
457 B
C++
// Copyright 2020 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "Core/System.h"
|
|
|
|
#include "Core/Config/MainSettings.h"
|
|
|
|
namespace Core
|
|
{
|
|
struct System::Impl
|
|
{
|
|
};
|
|
|
|
System::System() : m_impl{std::make_unique<Impl>()}
|
|
{
|
|
}
|
|
|
|
System::~System() = default;
|
|
|
|
void System::Initialize()
|
|
{
|
|
m_separate_cpu_and_gpu_threads = Config::Get(Config::MAIN_CPU_THREAD);
|
|
m_mmu_enabled = Config::Get(Config::MAIN_MMU);
|
|
}
|
|
} // namespace Core
|