Merge pull request #4495 from lioncash/conv

cheat_engine: Resolve implicit bool->u64 conversion
This commit is contained in:
Rodrigo Locatti 2020-08-14 03:10:17 -03:00 committed by GitHub
commit e050594706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ u64 StandardVmCallbacks::HidKeysDown() {
if (applet_resource == nullptr) { if (applet_resource == nullptr) {
LOG_WARNING(CheatEngine, LOG_WARNING(CheatEngine,
"Attempted to read input state, but applet resource is not initialized!"); "Attempted to read input state, but applet resource is not initialized!");
return false; return 0;
} }
const auto press_state = const auto press_state =