Browse Source

fix build, config

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2929/head
crueter 3 months ago
parent
commit
e1665c1731
  1. 2
      src/common/fs/symlink.h
  2. 1
      src/qt_common/config/qt_config.cpp
  3. 2
      src/yuzu/main_window.cpp

2
src/common/fs/symlink.h

@ -6,7 +6,7 @@
#include <filesystem> #include <filesystem>
namespace Common::FS { 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); bool IsSymlink(const std::filesystem::path &path);
} // namespace Common::FS } // namespace Common::FS

1
src/qt_common/config/qt_config.cpp

@ -516,6 +516,7 @@ void QtConfig::SaveUIGamelistValues() {
while (iter.hasNext()) { while (iter.hasNext()) {
iter.next(); iter.next();
SetArrayIndex(i); SetArrayIndex(i);
WriteIntegerSetting("program_id", iter.key()); WriteIntegerSetting("program_id", iter.key());
WriteStringSetting("ryujinx_path", iter.value().absolutePath().toStdString()); WriteStringSetting("ryujinx_path", iter.value().absolutePath().toStdString());

2
src/yuzu/main_window.cpp

@ -2914,6 +2914,8 @@ void MainWindow::OnLinkToRyujinx(const u64& program_id)
} else { } else {
UISettings::values.ryujinx_link_paths.remove(program_id); UISettings::values.ryujinx_link_paths.remove(program_id);
} }
config->SaveAllValues();
} }
void MainWindow::OnMenuLoadFile() { void MainWindow::OnMenuLoadFile() {

Loading…
Cancel
Save