VERY experimental Nintendo Switch 2 emulator
C++
core/cheat_engine: Make MemoryReadImpl and MemoryWriteImpl internally linked
Lioncashff4799196723
diff --git a/src/core/file_sys/cheat_engine.cpp b/src/core/file_sys/cheat_engine.cppindex 247fbc864d..b06c2f20a3 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& linereturn 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 namespaceCheatEngine::CheatEngine(Core::System& system, std::vector<CheatList> cheats_,const std::string& build_id, VAddr code_region_start,