diff options
| author | swurl <swurl@swurl.xyz> | 2025-05-08 22:16:07 +0000 |
|---|---|---|
| committer | crueter <crueter@noreply.localhost> | 2025-05-08 22:16:07 +0000 |
| commit | f786802b9b699548d0160cf52dff58018566fd70 (patch) | |
| tree | 0a88e2558bbfa25e4cc2eb9153ae53fe0038efe8 /src/core/hle/service/caps/caps_manager.cpp | |
| parent | d659d6f5b4a03f27d0cde7e1fd2f9da60095b5d0 (diff) | |
User Data Migration from Citron, Sudachi, and Yuzu (#91)
Includes citron, sudachi, yuzu
currently broken, because the eden dir is always made early?
Signed-off-by: swurl <swurl@swurl.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/91
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
Diffstat (limited to 'src/core/hle/service/caps/caps_manager.cpp')
| -rw-r--r-- | src/core/hle/service/caps/caps_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/caps/caps_manager.cpp b/src/core/hle/service/caps/caps_manager.cpp index 7f0bc127f9..e636d90bc4 100644 --- a/src/core/hle/service/caps/caps_manager.cpp +++ b/src/core/hle/service/caps/caps_manager.cpp @@ -303,7 +303,7 @@ void AlbumManager::FindScreenshots() { album_files.clear(); // TODO: Swap this with a blocking operation. - const auto screenshots_dir = Common::FS::GetYuzuPath(Common::FS::YuzuPath::ScreenshotsDir); + const auto screenshots_dir = Common::FS::GetEdenPath(Common::FS::EdenPath::ScreenshotsDir); Common::FS::IterateDirEntries( screenshots_dir, [this](const std::filesystem::path& full_path) { @@ -438,7 +438,7 @@ static void PNGToMemory(void* context, void* data, int len) { Result AlbumManager::SaveImage(ApplicationAlbumEntry& out_entry, std::span<const u8> image, u64 title_id, const AlbumFileDateTime& date) const { const auto screenshot_path = - Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir); + Common::FS::GetEdenPathString(Common::FS::EdenPath::ScreenshotsDir); const std::string formatted_date = fmt::format("{:04}-{:02}-{:02}_{:02}-{:02}-{:02}-{:03}", date.year, date.month, date.day, date.hour, date.minute, date.second, 0); |
