core: system: Rename GetDeviceManager -> DeviceManager.

- More consistent with other system components.
This commit is contained in:
bunnei 2020-04-08 19:18:10 -04:00
parent 3fcc4cab4f
commit 11c02a50e9
3 changed files with 7 additions and 7 deletions

View file

@ -141,7 +141,7 @@ struct System::Impl {
ResultStatus Init(System& system, Frontend::EmuWindow& emu_window) {
LOG_DEBUG(HW_Memory, "initialized OK");
device_memory = std::make_unique<DeviceMemory>(system);
device_memory = std::make_unique<Core::DeviceMemory>(system);
core_timing.Initialize();
kernel.Initialize();
@ -350,7 +350,7 @@ struct System::Impl {
std::unique_ptr<Loader::AppLoader> app_loader;
std::unique_ptr<Tegra::GPU> gpu_core;
std::unique_ptr<Hardware::InterruptManager> interrupt_manager;
std::unique_ptr<DeviceMemory> device_memory;
std::unique_ptr<Core::DeviceMemory> device_memory;
Core::Memory::Memory memory;
CpuManager cpu_manager;
bool is_powered_on = false;
@ -477,11 +477,11 @@ Kernel::Process* System::CurrentProcess() {
return impl->kernel.CurrentProcess();
}
DeviceMemory& System::GetDeviceMemory() {
Core::DeviceMemory& System::DeviceMemory() {
return *impl->device_memory;
}
const DeviceMemory& System::GetDeviceMemory() const {
const Core::DeviceMemory& System::DeviceMemory() const {
return *impl->device_memory;
}