diff options
| author | 2023-09-13 13:35:36 -0400 | |
|---|---|---|
| committer | 2023-09-13 13:52:09 -0400 | |
| commit | 5ffa1049ae639215f4885684a39607875cb9497b (patch) | |
| tree | ad60181eaf98bd954b9283b13ef1a7db2760afc9 /src/yuzu_cmd/config.cpp | |
| parent | shared_widget: Forward-port Citra changes (diff) | |
| download | yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.gz yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.xz yuzu-5ffa1049ae639215f4885684a39607875cb9497b.zip | |
cmd/config: Remove uncaught usage of stoul
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index c42d98709..0d25ff400 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -259,7 +259,7 @@ void Config::ReadValues() { | |||
| 259 | std::stringstream ss(title_list); | 259 | std::stringstream ss(title_list); |
| 260 | std::string line; | 260 | std::string line; |
| 261 | while (std::getline(ss, line, '|')) { | 261 | while (std::getline(ss, line, '|')) { |
| 262 | const auto title_id = std::stoul(line, nullptr, 16); | 262 | const auto title_id = std::strtoul(line.c_str(), nullptr, 16); |
| 263 | const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, ""); | 263 | const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, ""); |
| 264 | 264 | ||
| 265 | std::stringstream inner_ss(disabled_list); | 265 | std::stringstream inner_ss(disabled_list); |