From e1665c1731d8453e2dd26fd0988ce88d48c20c18 Mon Sep 17 00:00:00 2001 From: crueter Date: Fri, 7 Nov 2025 00:41:04 -0500 Subject: [PATCH] fix build, config Signed-off-by: crueter --- src/common/fs/symlink.h | 2 +- src/qt_common/config/qt_config.cpp | 1 + src/yuzu/main_window.cpp | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/fs/symlink.h b/src/common/fs/symlink.h index 5c2a2f9950..175196185e 100644 --- a/src/common/fs/symlink.h +++ b/src/common/fs/symlink.h @@ -6,7 +6,7 @@ #include namespace Common::FS { -bool CreateSymlink(std::filesystem::__cxx11::path from, std::filesystem::__cxx11::path to); +bool CreateSymlink(std::filesystem::path from, std::filesystem::path to); bool IsSymlink(const std::filesystem::path &path); } // namespace Common::FS diff --git a/src/qt_common/config/qt_config.cpp b/src/qt_common/config/qt_config.cpp index bdea8f2589..65bf488c5c 100644 --- a/src/qt_common/config/qt_config.cpp +++ b/src/qt_common/config/qt_config.cpp @@ -516,6 +516,7 @@ void QtConfig::SaveUIGamelistValues() { while (iter.hasNext()) { iter.next(); + SetArrayIndex(i); WriteIntegerSetting("program_id", iter.key()); WriteStringSetting("ryujinx_path", iter.value().absolutePath().toStdString()); diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index d8dc9b8cc7..354d18a884 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -2914,6 +2914,8 @@ void MainWindow::OnLinkToRyujinx(const u64& program_id) } else { UISettings::values.ryujinx_link_paths.remove(program_id); } + + config->SaveAllValues(); } void MainWindow::OnMenuLoadFile() {