summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-06 08:55:45 +0200
committerLioncash <mathew1800@gmail.com>2020-08-06 08:55:47 +0200
commit5b8929130843124ed0ffeb2caabb13a8a2f443c0 (patch)
tree2eee35227c854d3fdb861d265cc81b54e9c6b6dc /src/core
parentMerge pull request #4489 from lioncash/typesafe (diff)
downloadyuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar
yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.gz
yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.bz2
yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.lz
yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.xz
yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.zst
yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/memory/cheat_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp
index eeebdf02e..b9ea50316 100644
--- a/src/core/memory/cheat_engine.cpp
+++ b/src/core/memory/cheat_engine.cpp
@@ -42,7 +42,7 @@ u64 StandardVmCallbacks::HidKeysDown() {
if (applet_resource == nullptr) {
LOG_WARNING(CheatEngine,
"Attempted to read input state, but applet resource is not initialized!");
- return false;
+ return 0;
}
const auto press_state =