Przeglądaj źródła

Merge pull request #4495 from lioncash/conv

cheat_engine: Resolve implicit bool->u64 conversion
Rodrigo Locatti 6 lat temu
rodzic
commit
e050594706
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/memory/cheat_engine.cpp

+ 1 - 1
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 =