summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-24 23:34:39 +0100
committerLioncash <mathew1800@gmail.com>2019-03-24 23:34:42 +0100
commitb26481c94b3d12a4d3bf5e33dfadb87522bc3cff (patch)
treec7b47c20735f5311f6b088ede6148af84ed8a129 /src/core
parentMerge pull request #2232 from lioncash/transfer-memory (diff)
downloadyuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.tar
yuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.tar.gz
yuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.tar.bz2
yuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.tar.lz
yuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.tar.xz
yuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.tar.zst
yuzu-b26481c94b3d12a4d3bf5e33dfadb87522bc3cff.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/cheat_engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/file_sys/cheat_engine.cpp b/src/core/file_sys/cheat_engine.cpp
index 247fbc864..b06c2f20a 100644
--- a/src/core/file_sys/cheat_engine.cpp
+++ b/src/core/file_sys/cheat_engine.cpp
@@ -423,6 +423,7 @@ std::array<u8, 16> TextCheatParser::ParseSingleLineCheat(const std::string& line
return out;
}
+namespace {
u64 MemoryReadImpl(u32 width, VAddr addr) {
switch (width) {
case 1:
@@ -457,6 +458,7 @@ void MemoryWriteImpl(u32 width, VAddr addr, u64 value) {
UNREACHABLE();
}
}
+} // Anonymous namespace
CheatEngine::CheatEngine(Core::System& system, std::vector<CheatList> cheats_,
const std::string& build_id, VAddr code_region_start,