mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-04 19:36:27 +00:00
23 lines
697 B
C++
23 lines
697 B
C++
|
|
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||
|
|
// 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);
|
||
|
|
u64 GetRyujinxSaveID(const u64 &program_id);
|
||
|
|
|
||
|
|
/// @brief {eden, ryu}
|
||
|
|
std::optional<std::pair<std::filesystem::path, std::filesystem::path>> GetEmuPaths(
|
||
|
|
const u64 program_id, const u64 save_id, const std::string &user_id);
|
||
|
|
|
||
|
|
/// returns FALSE if the dirs are NOT linked
|
||
|
|
bool CheckUnlink(const std::filesystem::path &eden_dir, const std::filesystem::path &ryu_dir);
|
||
|
|
|
||
|
|
} // namespace QtCommon::FS
|