diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-26 08:34:31 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-27 02:28:58 +0200 |
commit | 687d9739802097703a09f63d20ece741932b431b (patch) | |
tree | 68056642cf9eb09098a59e555570c9243a9a484d /src/core/hle/service/apt/apt.cpp | |
parent | Merge pull request #1074 from lioncash/bool (diff) | |
download | yuzu-687d9739802097703a09f63d20ece741932b431b.tar yuzu-687d9739802097703a09f63d20ece741932b431b.tar.gz yuzu-687d9739802097703a09f63d20ece741932b431b.tar.bz2 yuzu-687d9739802097703a09f63d20ece741932b431b.tar.lz yuzu-687d9739802097703a09f63d20ece741932b431b.tar.xz yuzu-687d9739802097703a09f63d20ece741932b431b.tar.zst yuzu-687d9739802097703a09f63d20ece741932b431b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/apt/apt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp index 6a2fdea2b..ba66569b4 100644 --- a/src/core/hle/service/apt/apt.cpp +++ b/src/core/hle/service/apt/apt.cpp @@ -78,8 +78,8 @@ void GetSharedFont(Service::Interface* self) { if (shared_font != nullptr) { // TODO(yuriks): This is a hack to keep this working right now even with our completely // broken shared memory system. - shared_font_mem->base_address = SHARED_FONT_VADDR; - Kernel::g_current_process->vm_manager.MapMemoryBlock(shared_font_mem->base_address, + shared_font_mem->fixed_address = SHARED_FONT_VADDR; + Kernel::g_current_process->vm_manager.MapMemoryBlock(shared_font_mem->fixed_address, shared_font, 0, shared_font_mem->size, Kernel::MemoryState::Shared); cmd_buff[0] = IPC::MakeHeader(0x44, 2, 2); |