mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-06 22:28:24 +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> |
||
|---|---|---|
| .. | ||
| applets | ||
| configuration | ||
| debugger | ||
| multiplayer | ||
| util | ||
| about_dialog.cpp | ||
| about_dialog.h | ||
| aboutdialog.ui | ||
| bootmanager.cpp | ||
| bootmanager.h | ||
| breakpad.cpp | ||
| breakpad.h | ||
| CMakeLists.txt | ||
| compatdb.cpp | ||
| compatdb.h | ||
| compatdb.ui | ||
| compatibility_list.cpp | ||
| compatibility_list.h | ||
| deps_dialog.cpp | ||
| deps_dialog.h | ||
| deps_dialog.ui | ||
| discord.h | ||
| discord_impl.cpp | ||
| discord_impl.h | ||
| game_list.cpp | ||
| game_list.h | ||
| game_list_p.h | ||
| game_list_worker.cpp | ||
| game_list_worker.h | ||
| hotkeys.cpp | ||
| hotkeys.h | ||
| Info.plist | ||
| install_dialog.cpp | ||
| install_dialog.h | ||
| loading_screen.cpp | ||
| loading_screen.h | ||
| loading_screen.ui | ||
| main.cpp | ||
| main.h | ||
| main.ui | ||
| migration_dialog.cpp | ||
| migration_dialog.h | ||
| migration_worker.cpp | ||
| migration_worker.h | ||
| play_time_manager.cpp | ||
| play_time_manager.h | ||
| precompiled_headers.h | ||
| startup_checks.cpp | ||
| startup_checks.h | ||
| update_checker.cpp | ||
| update_checker.h | ||
| user_data_migration.cpp | ||
| user_data_migration.h | ||
| vk_device_info.cpp | ||
| vk_device_info.h | ||
| yuzu.qrc | ||
| yuzu.rc | ||