summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ldr_ro
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-12-22 06:00:01 +0100
committerbunnei <bunneidev@gmail.com>2016-12-22 06:27:46 +0100
commite26fbfd1d72c026d0f25c09595e7123459b1734f (patch)
tree5d99608b33c991b59c25cd2014be8bacb136c29b /src/core/hle/service/ldr_ro
parentAddress clang-format issues. (diff)
downloadyuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.gz
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.bz2
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.lz
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.xz
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.zst
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.zip
Diffstat (limited to 'src/core/hle/service/ldr_ro')
-rw-r--r--src/core/hle/service/ldr_ro/ldr_ro.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/ldr_ro/ldr_ro.cpp b/src/core/hle/service/ldr_ro/ldr_ro.cpp
index 614f16d44..8d00a7577 100644
--- a/src/core/hle/service/ldr_ro/ldr_ro.cpp
+++ b/src/core/hle/service/ldr_ro/ldr_ro.cpp
@@ -457,7 +457,7 @@ static void LoadCRO(Interface* self, bool link_on_load_bug_fix) {
}
}
- Core::AppCore().ClearInstructionCache();
+ Core::CPU().ClearInstructionCache();
LOG_INFO(Service_LDR, "CRO \"%s\" loaded at 0x%08X, fixed_end=0x%08X", cro.ModuleName().data(),
cro_address, cro_address + fix_size);
@@ -562,7 +562,7 @@ static void UnloadCRO(Interface* self) {
memory_synchronizer.RemoveMemoryBlock(cro_address, cro_buffer_ptr);
}
- Core::AppCore().ClearInstructionCache();
+ Core::CPU().ClearInstructionCache();
cmd_buff[1] = result.raw;
}
@@ -624,7 +624,7 @@ static void LinkCRO(Interface* self) {
}
memory_synchronizer.SynchronizeOriginalMemory();
- Core::AppCore().ClearInstructionCache();
+ Core::CPU().ClearInstructionCache();
cmd_buff[1] = result.raw;
}
@@ -686,7 +686,7 @@ static void UnlinkCRO(Interface* self) {
}
memory_synchronizer.SynchronizeOriginalMemory();
- Core::AppCore().ClearInstructionCache();
+ Core::CPU().ClearInstructionCache();
cmd_buff[1] = result.raw;
}