mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 23:59:08 +01:00
cheat_engine: Remove uncaught usage of stoul
This commit is contained in:
parent
22be3008f8
commit
0eef4a6c94
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ std::vector<CheatEntry> TextCheatParser::Parse(std::string_view data) const {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto value = static_cast<u32>(std::stoul(hex, nullptr, 0x10));
|
const auto value = static_cast<u32>(std::strtoul(hex.c_str(), nullptr, 0x10));
|
||||||
out[*current_entry].definition.opcodes[out[*current_entry].definition.num_opcodes++] =
|
out[*current_entry].definition.opcodes[out[*current_entry].definition.num_opcodes++] =
|
||||||
value;
|
value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue