summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-08-14 08:10:17 +0200
committerGitHub <noreply@github.com>2020-08-14 08:10:17 +0200
commite0505947064e8e8dd4fd145c1f6dcbbb5ae5373f (patch)
tree2f5e734e057003f41ca5271f6856e56960c7d33c
parentMerge pull request #4514 from Morph1984/worker-alloc (diff)
parentcheat_engine: Resolve implicit bool->u64 conversion (diff)
downloadyuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.gz
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.bz2
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.lz
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.xz
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.zst
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.zip
-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 4b5cd0624..e503118dd 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 =