summaryrefslogtreecommitdiff
path: root/src/core/hle/service/apt
diff options
context:
space:
mode:
authorGravatar Weiyi Wang2017-07-22 10:15:52 +0300
committerGravatar GitHub2017-07-22 10:15:52 +0300
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.gz
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.tar.xz
yuzu-045d0b5bbdf790952ddfedcfc8816c0afc7a2300.zip
Merge pull request #2799 from yuriks/virtual-cached-range-flush
Add address conversion functions returning optional, Add function to flush virtual region from rasterizer cache
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) {
85 // The shared font has to be relocated to the new address before being passed to the 85 // The shared font has to be relocated to the new address before being passed to the
86 // application. 86 // application.
87 VAddr target_address = 87 VAddr target_address =
88 Memory::PhysicalToVirtualAddress(shared_font_mem->linear_heap_phys_address); 88 Memory::PhysicalToVirtualAddress(shared_font_mem->linear_heap_phys_address).value();
89 if (!shared_font_relocated) { 89 if (!shared_font_relocated) {
90 BCFNT::RelocateSharedFont(shared_font_mem, target_address); 90 BCFNT::RelocateSharedFont(shared_font_mem, target_address);
91 shared_font_relocated = true; 91 shared_font_relocated = true;