summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2020-08-14 03:10:17 -0300
committerGravatar GitHub2020-08-14 03:10:17 -0300
commite0505947064e8e8dd4fd145c1f6dcbbb5ae5373f (patch)
tree2f5e734e057003f41ca5271f6856e56960c7d33c /src
parentMerge pull request #4514 from Morph1984/worker-alloc (diff)
parentcheat_engine: Resolve implicit bool->u64 conversion (diff)
downloadyuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.gz
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.tar.xz
yuzu-e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f.zip
Merge pull request #4495 from lioncash/conv
cheat_engine: Resolve implicit bool->u64 conversion
Diffstat (limited to 'src')
-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() {
42 if (applet_resource == nullptr) { 42 if (applet_resource == nullptr) {
43 LOG_WARNING(CheatEngine, 43 LOG_WARNING(CheatEngine,
44 "Attempted to read input state, but applet resource is not initialized!"); 44 "Attempted to read input state, but applet resource is not initialized!");
45 return false; 45 return 0;
46 } 46 }
47 47
48 const auto press_state = 48 const auto press_state =