diff options
| author | 2023-09-13 13:51:58 -0400 | |
|---|---|---|
| committer | 2023-09-13 13:51:58 -0400 | |
| commit | 0eef4a6c948d020b9c9ae7aa5a314ff5b7c04c27 (patch) | |
| tree | a71247e1451b6914a0334ec6db597f11b1a7a98f /src/core/memory | |
| parent | ips_layer: Remove uncaught usage of stoul/ll (diff) | |
| download | yuzu-0eef4a6c948d020b9c9ae7aa5a314ff5b7c04c27.tar.gz yuzu-0eef4a6c948d020b9c9ae7aa5a314ff5b7c04c27.tar.xz yuzu-0eef4a6c948d020b9c9ae7aa5a314ff5b7c04c27.zip | |
cheat_engine: Remove uncaught usage of stoul
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 7b52f61a7..a06e99166 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp | |||
| @@ -154,7 +154,7 @@ std::vector<CheatEntry> TextCheatParser::Parse(std::string_view data) const { | |||
| 154 | return {}; | 154 | return {}; |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | const auto value = static_cast<u32>(std::stoul(hex, nullptr, 0x10)); | 157 | const auto value = static_cast<u32>(std::strtoul(hex.c_str(), nullptr, 0x10)); |
| 158 | out[*current_entry].definition.opcodes[out[*current_entry].definition.num_opcodes++] = | 158 | out[*current_entry].definition.opcodes[out[*current_entry].definition.num_opcodes++] = |
| 159 | value; | 159 | value; |
| 160 | 160 | ||