2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

cheat_engine: Resolve implicit bool->u64 conversion

We can just return zero here.
This commit is contained in:
Lioncash 2020-08-06 02:55:45 -04:00
parent 1cc0e4b4d8
commit 5b89291308

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 =