aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc/svc_cache.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-14 21:43:15 -0400
committerLiam <byteslice@airmail.cc>2023-07-14 21:43:15 -0400
commita85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb (patch)
tree40f818c29a9e19dbc2c7aeb352d7892c59d7e858 /src/core/hle/kernel/svc/svc_cache.cpp
parent04868ab9da2049429808a265dc50696f6300b2b4 (diff)
k_process: PageTable -> GetPageTable
Diffstat (limited to 'src/core/hle/kernel/svc/svc_cache.cpp')
-rw-r--r--src/core/hle/kernel/svc/svc_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc/svc_cache.cpp b/src/core/hle/kernel/svc/svc_cache.cpp
index 082942dab..c2c8be10f 100644
--- a/src/core/hle/kernel/svc/svc_cache.cpp
+++ b/src/core/hle/kernel/svc/svc_cache.cpp
@@ -42,7 +42,7 @@ Result FlushProcessDataCache(Core::System& system, Handle process_handle, u64 ad
R_UNLESS(process.IsNotNull(), ResultInvalidHandle);
// Verify the region is within range.
- auto& page_table = process->PageTable();
+ auto& page_table = process->GetPageTable();
R_UNLESS(page_table.Contains(address, size), ResultInvalidCurrentMemory);
// Perform the operation.