mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 03:07:46 +00:00
Previously, if the user had their NAND in a nonstandard location, profiles.dat would be read from the standard Eden path and thus return effectively garbage data. What this would result in is: - The Qt profile manager would be completely nonfunctional - "Open Save Data Location" would put you into the completely wrong place - Games would read from incorrect locations for their saves To solve this, I made it so that profiles.dat is re-read *after* QtConfig initializes. It's not the perfect solution, but it works. Additionally, this adds an orphaned profiles finder: - walks through the save folders in nand/user/save/000.../ - for each subdirectory, checks to see if profiles.dat contains a corresponding UUID - If not, the profile is "orphaned". It may contain legit save data, so let the user decide how to handle it (famous last words) - Empty profiles are just removed. If they really matter, they're instantly recreated anyways. The orphaned profiles check runs right *after* the decryption keys check, but before the game list ever gets populated Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2678 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> |
||
---|---|---|
.. | ||
fsa | ||
fssrv | ||
fssystem | ||
system_archive | ||
vfs | ||
bis_factory.cpp | ||
bis_factory.h | ||
card_image.cpp | ||
card_image.h | ||
common_funcs.h | ||
content_archive.cpp | ||
content_archive.h | ||
control_metadata.cpp | ||
control_metadata.h | ||
errors.h | ||
fs_directory.h | ||
fs_file.h | ||
fs_filesystem.h | ||
fs_memory_management.h | ||
fs_operate_range.h | ||
fs_path.h | ||
fs_path_utility.h | ||
fs_save_data_types.h | ||
fs_string_util.h | ||
fsmitm_romfsbuild.cpp | ||
fsmitm_romfsbuild.h | ||
ips_layer.cpp | ||
ips_layer.h | ||
kernel_executable.cpp | ||
kernel_executable.h | ||
nca_metadata.cpp | ||
nca_metadata.h | ||
partition_filesystem.cpp | ||
partition_filesystem.h | ||
patch_manager.cpp | ||
patch_manager.h | ||
program_metadata.cpp | ||
program_metadata.h | ||
registered_cache.cpp | ||
registered_cache.h | ||
romfs.cpp | ||
romfs.h | ||
romfs_factory.cpp | ||
romfs_factory.h | ||
savedata_factory.cpp | ||
savedata_factory.h | ||
sdmc_factory.cpp | ||
sdmc_factory.h | ||
submission_package.cpp | ||
submission_package.h | ||
xts_archive.cpp | ||
xts_archive.h |