dolphin/Source/Core
JosJuice a62f8eac1a DolphinQt: Delete output Sys folder before copying to it
For a long time now, we've had a problem where game INIs persist in
the copied Sys folder if they've been deleted from the original Sys
folder. (I still have hundreds of game INIs locally that only set
EmulationStateId, and we removed those game INIs 6 years ago. On the
buildbot, we do occasionally clear out the build directories manually,
so I'd assume it's not quite as bad there.)

This commit fixes the problem by deleting the output Sys folder before
copying the original Sys folder to the output Sys folder. This should be
a bit slower, but in my testing, the difference seems small. At least if
you have an SSD, which I really hope people have nowadays!

Operating systems other than Windows have not been touched, because:

* Android: Already explicitly deletes the output Sys folder.
* macOS: Does some magic to put the Sys folder in the app bundle, which I
  will simply assume isn't affected by this problem, without testing.
* Linux: Expects the person building to manually manage the Sys folder.
2024-08-16 21:09:10 +02:00
..
AudioCommon Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
Common UICommon: Remove Steam user directory logic 2024-08-15 12:42:16 -04:00
Core Merge pull request #13015 from tygyh/Use-boolean-literals 2024-08-16 20:04:45 +01:00
DiscIO Use C++20 erase_if() instead of erase(remove_if()) (NFC) 2024-07-21 16:36:06 +01:00
DolphinNoGUI Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
DolphinQt DolphinQt: Delete output Sys folder before copying to it 2024-08-16 21:09:10 +02:00
DolphinTool DolphinTool: print title IDs in hex 2024-08-16 18:39:23 +01:00
InputCommon Misc. Container Find Changes 2024-08-15 14:25:51 -07:00
MacUpdater MacUpdater: Post-process the bundle 2024-08-01 22:06:55 -04:00
UICommon Merge pull request #13010 from OatmealDome/goodbye-steam 2024-08-16 20:03:38 +01:00
UpdaterCommon Use 'contains' method 2024-08-14 22:18:28 +02:00
VideoBackends Properly link against xxhash 2024-07-06 16:56:44 -05:00
VideoCommon Use 'contains' method 2024-08-15 14:20:16 -07:00
WinUpdater StringUtil: Move CommandLineToUtf8Argv() into Common namespace 2023-05-16 14:23:21 -04:00
CMakeLists.txt CMakeLists: Embed macOS Updater app inside DolphinQt 2024-08-01 22:06:55 -04:00
DolphinLib.ARM64.props msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.props Cached Interpreter 2.0 2024-07-23 14:06:21 -07:00
DolphinLib.vcxproj Externals: Convert minizip-ng To Submodule 2024-05-03 12:43:33 -07:00
DolphinLib.vcxproj.user msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.x64.props Move x64 DSP JIT into DolphinLib.x64.props 2023-01-06 22:42:21 -08:00