diff options
| author | 2020-08-06 02:55:45 -0400 | |
|---|---|---|
| committer | 2020-08-06 02:55:47 -0400 | |
| commit | 5b8929130843124ed0ffeb2caabb13a8a2f443c0 (patch) | |
| tree | 2eee35227c854d3fdb861d265cc81b54e9c6b6dc /src | |
| parent | Merge pull request #4489 from lioncash/typesafe (diff) | |
| download | yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.gz yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.tar.xz yuzu-5b8929130843124ed0ffeb2caabb13a8a2f443c0.zip | |
cheat_engine: Resolve implicit bool->u64 conversion
We can just return zero here.
Diffstat (limited to '')
| -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 eeebdf02e..b9ea50316 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp | |||
| @@ -42,7 +42,7 @@ u64 StandardVmCallbacks::HidKeysDown() { | |||
| 42 | if (applet_resource == nullptr) { | 42 | if (applet_resource == nullptr) { |
| 43 | LOG_WARNING(CheatEngine, | 43 | LOG_WARNING(CheatEngine, |
| 44 | "Attempted to read input state, but applet resource is not initialized!"); | 44 | "Attempted to read input state, but applet resource is not initialized!"); |
| 45 | return false; | 45 | return 0; |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | const auto press_state = | 48 | const auto press_state = |