Browse Source

fix mklink

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2815/head
crueter 4 months ago
parent
commit
574455f201
  1. 2
      src/common/ryujinx_compat.cpp
  2. 4
      src/yuzu/main.cpp
  3. 4
      src/yuzu/ryujinx_dialog.cpp

2
src/common/ryujinx_compat.cpp

@ -7,7 +7,6 @@
#include <cstring>
#include <fmt/ranges.h>
#include <fstream>
#include <algorithm>
namespace Common::FS {
@ -86,7 +85,6 @@ IMENReadResult ReadKvdb(const fs::path &path, std::vector<IMEN> &imens)
kvdb.ignore(0x38);
imens.emplace_back(IMEN{title_id, save_id});
fmt::println("TitleID: {:16X} SaveID: {:016X} length: {}", title_id, save_id, imens.size());
}
return IMENReadResult::Success;

4
src/yuzu/main.cpp

@ -2927,8 +2927,8 @@ void GMainWindow::OnLinkToRyujinx(const u64& program_id)
if (user_id.empty())
return;
std::string hex_program = fmt::format("{:016X}", program_id);
fs::path eden_dir = FrontendCommon::DataManager::GetDataDir(FrontendCommon::DataManager::DataDir::Saves)
/ user_id / hex_program;
fs::path eden_dir = FrontendCommon::DataManager::GetDataDir(FrontendCommon::DataManager::DataDir::Saves, user_id)
/ hex_program;
RyujinxDialog dialog(eden_dir, ryu_dir, this);
dialog.exec();

4
src/yuzu/ryujinx_dialog.cpp

@ -15,8 +15,8 @@ RyujinxDialog::RyujinxDialog(std::filesystem::path eden_path,
QWidget *parent)
: QDialog(parent)
, ui(new Ui::RyujinxDialog)
, m_eden(eden_path)
, m_ryu(ryu_path)
, m_eden(eden_path.make_preferred())
, m_ryu(ryu_path.make_preferred())
{
ui->setupUi(this);

Loading…
Cancel
Save