aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc/svc_cache.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-23 19:58:48 -0400
committerLiam <byteslice@airmail.cc>2023-03-23 20:28:47 -0400
commit6eaef51cf2dea4178200e7d34fb0f44d28bf45c2 (patch)
tree085ba1f2eb6a75c2b93d70834cc20d4b14f4d10f /src/core/hle/kernel/svc/svc_cache.cpp
parentc8963299fa16bd810029f3492df37959e4f3cb28 (diff)
memory: rename global memory references to application memory
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 1779832d37..082942dab7 100644
--- a/src/core/hle/kernel/svc/svc_cache.cpp
+++ b/src/core/hle/kernel/svc/svc_cache.cpp
@@ -46,7 +46,7 @@ Result FlushProcessDataCache(Core::System& system, Handle process_handle, u64 ad
R_UNLESS(page_table.Contains(address, size), ResultInvalidCurrentMemory);
// Perform the operation.
- R_RETURN(system.Memory().FlushDataCache(*process, address, size));
+ R_RETURN(GetCurrentMemory(system.Kernel()).FlushDataCache(address, size));
}
void FlushEntireDataCache64(Core::System& system) {