diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-08-06 02:55:45 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-08-06 02:55:47 -0400 |
| commit | 304da7bfc8db6329c590b7d39254796c780ce3dc (patch) | |
| tree | 2eee35227c854d3fdb861d265cc81b54e9c6b6dc /src/core/memory | |
| parent | f0be76a50a255affffb57cc828b6b59110da2376 (diff) | |
cheat_engine: Resolve implicit bool->u64 conversion
We can just return zero here.
Diffstat (limited to 'src/core/memory')
| -rw-r--r-- | src/core/memory/cheat_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp index eeebdf02e6..b9ea50316e 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/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 = |
