summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/core.cpp8
-rw-r--r--src/core/core.h4
-rw-r--r--src/core/hle/kernel/memory/page_table.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index f58d05c6b..f9f8a3000 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -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;
}
diff --git a/src/core/core.h b/src/core/core.h
index 6cd93000a..acc53d6a1 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -258,10 +258,10 @@ public:
const Kernel::GlobalScheduler& GlobalScheduler() const;
/// Gets the manager for the guest device memory
- DeviceMemory& GetDeviceMemory();
+ Core::DeviceMemory& DeviceMemory();
/// Gets the manager for the guest device memory
- const DeviceMemory& GetDeviceMemory() const;
+ const Core::DeviceMemory& DeviceMemory() const;
/// Provides a pointer to the current process
Kernel::Process* CurrentProcess();
diff --git a/src/core/hle/kernel/memory/page_table.cpp b/src/core/hle/kernel/memory/page_table.cpp
index 01f9e99eb..93e7253e2 100644
--- a/src/core/hle/kernel/memory/page_table.cpp
+++ b/src/core/hle/kernel/memory/page_table.cpp
@@ -937,7 +937,7 @@ ResultVal<VAddr> PageTable::AllocateAndMapMemory(std::size_t needed_num_pages, s
}
PAddr PageTable::GetPhysicalAddr(VAddr addr) {
- return system.GetDeviceMemory().GetPhysicalAddr(addr);
+ return system.DeviceMemory().GetPhysicalAddr(addr);
}
ResultCode PageTable::InitializeMemoryLayout(VAddr start, VAddr end) {