summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/file_sys/cheat_engine.cpp2
-rw-r--r--src/core/hle/kernel/kernel.h3
2 files changed, 2 insertions, 3 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
423 return out; 423 return out;
424} 424}
425 425
426namespace {
426u64 MemoryReadImpl(u32 width, VAddr addr) { 427u64 MemoryReadImpl(u32 width, VAddr addr) {
427 switch (width) { 428 switch (width) {
428 case 1: 429 case 1:
@@ -457,6 +458,7 @@ void MemoryWriteImpl(u32 width, VAddr addr, u64 value) {
457 UNREACHABLE(); 458 UNREACHABLE();
458 } 459 }
459} 460}
461} // Anonymous namespace
460 462
461CheatEngine::CheatEngine(Core::System& system, std::vector<CheatList> cheats_, 463CheatEngine::CheatEngine(Core::System& system, std::vector<CheatList> cheats_,
462 const std::string& build_id, VAddr code_region_start, 464 const std::string& build_id, VAddr code_region_start,
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index ff17ff865..03ea5b659 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -8,9 +8,6 @@
8#include <unordered_map> 8#include <unordered_map>
9#include "core/hle/kernel/object.h" 9#include "core/hle/kernel/object.h"
10 10
11template <typename T>
12class ResultVal;
13
14namespace Core { 11namespace Core {
15class System; 12class System;
16} 13}