feat(filesystem): add custom save path support per game

- Add custom_save_paths map to Settings::Values
- Implement ReadCustomSavePathValues and SaveCustomSavePathValues in Config
- Update CreateSaveDataFactory to check for custom save paths
- Support per-game title ID save path overrides

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-11-28 16:11:07 +10:00
parent bb4574e5df
commit 90eeee345c
4 changed files with 59 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
// SPDX-FileCopyrightText: 2025 citron Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
@@ -76,6 +77,7 @@ protected:
void ReadCoreValues();
void ReadDataStorageValues();
void ReadDebuggingValues();
void ReadCustomSavePathValues();
#ifdef __unix__
void ReadLinuxValues();
#endif
@@ -112,6 +114,7 @@ protected:
void SaveCoreValues();
void SaveDataStorageValues();
void SaveDebuggingValues();
void SaveCustomSavePathValues();
#ifdef __unix__
void SaveLinuxValues();
#endif