Browse Source

cheat_engine: Resolve implicit bool->u64 conversion

We can just return zero here.
pull/15/merge
Lioncash 5 years ago
parent
commit
5b89291308
  1. 2
      src/core/memory/cheat_engine.cpp

2
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 =

Loading…
Cancel
Save