aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-13 13:35:36 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-13 13:52:09 -0400
commit05ee2fa03310edd88c3f24f1dc5a170d7696a1e2 (patch)
treead60181eaf98bd954b9283b13ef1a7db2760afc9 /src/yuzu_cmd/config.cpp
parentc750d6965a97d9db4f95a124c61427aa91990a17 (diff)
cmd/config: Remove uncaught usage of stoul
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index c42d987090..0d25ff4001 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -259,7 +259,7 @@ void Config::ReadValues() {
std::stringstream ss(title_list);
std::string 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, "");
std::stringstream inner_ss(disabled_list);