2026-03-10 05:37:45 +01:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
2025-10-28 03:46:47 +01:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
#include <filesystem>
|
|
|
|
|
#include <optional>
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
namespace QtCommon::FS {
|
|
|
|
|
|
|
|
|
|
void LinkRyujinx(std::filesystem::path &from, std::filesystem::path &to);
|
2025-11-09 18:07:38 +01:00
|
|
|
const std::filesystem::path GetRyujinxSavePath(const std::filesystem::path &path_hint, const u64 &program_id);
|
2025-10-28 03:46:47 +01:00
|
|
|
|
|
|
|
|
/// returns FALSE if the dirs are NOT linked
|
2025-11-09 18:07:38 +01:00
|
|
|
bool CheckUnlink(const std::filesystem::path& eden_dir,
|
|
|
|
|
const std::filesystem::path& ryu_dir);
|
2025-10-28 03:46:47 +01:00
|
|
|
|
|
|
|
|
} // namespace QtCommon::FS
|