summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-16 17:40:03 +0200
committerGitHub <noreply@github.com>2023-09-16 17:40:03 +0200
commitc05ea35f78bd4de663bc022a7048e88d6ade594b (patch)
treecee0c61ea4a84b2d876ac7c69d38542967bfb919 /src/yuzu_cmd/config.cpp
parentMerge pull request #11483 from FearlessTobi/save-size-max (diff)
parentshared_widget: Use default literals more (diff)
downloadyuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.gz
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.bz2
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.lz
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.xz
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.zst
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.zip
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 c42d98709..0d25ff400 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);