summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-22 05:21:49 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-22 07:55:17 +0200
commit326e7c70208865b013e138972b25687d805488d0 (patch)
treeb88cd1431d0069052b0bab969ba480a9278f8c22 /src/core/hle/service/apt
parentMerge pull request #2792 from wwylele/lutlutlut (diff)
downloadyuzu-326e7c70208865b013e138972b25687d805488d0.tar
yuzu-326e7c70208865b013e138972b25687d805488d0.tar.gz
yuzu-326e7c70208865b013e138972b25687d805488d0.tar.bz2
yuzu-326e7c70208865b013e138972b25687d805488d0.tar.lz
yuzu-326e7c70208865b013e138972b25687d805488d0.tar.xz
yuzu-326e7c70208865b013e138972b25687d805488d0.tar.zst
yuzu-326e7c70208865b013e138972b25687d805488d0.zip
Diffstat (limited to 'src/core/hle/service/apt')
-rw-r--r--src/core/hle/service/apt/apt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index 25e7b777d..6375e28f9 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -82,7 +82,7 @@ void GetSharedFont(Service::Interface* self) {
// The shared font has to be relocated to the new address before being passed to the
// application.
VAddr target_address =
- Memory::PhysicalToVirtualAddress(shared_font_mem->linear_heap_phys_address);
+ Memory::PhysicalToVirtualAddress(shared_font_mem->linear_heap_phys_address).value();
if (!shared_font_relocated) {
BCFNT::RelocateSharedFont(shared_font_mem, target_address);
shared_font_relocated = true;