mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
cmd/config: Remove uncaught usage of stoul
This commit is contained in:
parent
3ae3706c84
commit
5ffa1049ae
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ void Config::ReadValues() {
|
||||||
std::stringstream ss(title_list);
|
std::stringstream ss(title_list);
|
||||||
std::string line;
|
std::string line;
|
||||||
while (std::getline(ss, line, '|')) {
|
while (std::getline(ss, line, '|')) {
|
||||||
const auto title_id = std::stoul(line, nullptr, 16);
|
const auto title_id = std::strtoul(line.c_str(), nullptr, 16);
|
||||||
const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, "");
|
const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, "");
|
||||||
|
|
||||||
std::stringstream inner_ss(disabled_list);
|
std::stringstream inner_ss(disabled_list);
|
||||||
|
|
Loading…
Reference in a new issue