summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-07-22 09:15:52 +0200
committerGitHub <noreply@github.com>2017-07-22 09:15:52 +0200
commit045d0b5bbdf790952ddfedcfc8816c0afc7a2300 (patch)
treefba1a440adf7d7ecd59edaf48e215e70b7c6cf9e /src/core/hle/service/apt
parentMerge pull request #2833 from j-selby/single-header-json (diff)
parentMemory: Add function to flush a virtual range from the rasterizer cache (diff)
downloadyuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar.gz
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar.bz2
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar.lz
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar.xz
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar.zst
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.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 df4b5cc3f..5c44b43bb 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -85,7 +85,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;