summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-08 23:12:25 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-09 03:12:10 +0200
commit3cb19c95895ab151d64682e5cbe64e938f995f46 (patch)
treea3d14fcd598c7d55d2e5ef6d746613df916799ec /src/core/loader/loader.cpp
parentProcess: Add more documentation to the class members (diff)
downloadyuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.tar
yuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.tar.gz
yuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.tar.bz2
yuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.tar.lz
yuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.tar.xz
yuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.tar.zst
yuzu-3cb19c95895ab151d64682e5cbe64e938f995f46.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index 8976d0372..505e2d280 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -19,7 +19,7 @@
namespace Loader {
-const std::initializer_list<Kernel::StaticAddressMapping> default_address_mappings = {
+const std::initializer_list<Kernel::AddressMapping> default_address_mappings = {
{ 0x1FF50000, 0x8000, true }, // part of DSP RAM
{ 0x1FF70000, 0x8000, true }, // part of DSP RAM
{ 0x1F000000, 0x600000, false }, // entire VRAM
@@ -142,7 +142,7 @@ ResultStatus LoadFile(const std::string& filename) {
{
Kernel::g_current_process = Kernel::Process::Create(filename_filename, 0);
Kernel::g_current_process->svc_access_mask.set();
- Kernel::g_current_process->static_address_mappings = default_address_mappings;
+ Kernel::g_current_process->address_mappings = default_address_mappings;
size_t size = (size_t)file->GetSize();
if (file->ReadBytes(Memory::GetPointer(Memory::EXEFS_CODE_VADDR), size) != size)