dolphin/Source/Core/DolphinQt
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
..
Achievements Fixed missing game badge in achievements dialog 2024-08-15 21:48:50 -04:00
Config Use 'contains' method 2024-08-15 14:20:16 -07:00
Debugger Use 'contains' method 2024-08-14 22:18:28 +02:00
FIFO i18n: Add comments and improve source strings 2024-07-28 14:38:20 +02:00
GameList Use C++20 erase_if() instead of erase(remove_if()) (NFC) 2024-07-21 16:36:06 +01:00
InfinityBase IOS/USB: Use Enum for Infinity Base Positions 2024-06-27 20:57:27 +01:00
NetPlay Use 'contains' method 2024-08-14 22:18:28 +02:00
QtUtils QtUtils/ClearLayoutRecursively: Fix potential crash 2024-07-21 17:36:05 -07:00
Settings Use 'contains' method 2024-08-14 22:18:28 +02:00
SkylanderPortal Change Default Skylander File Selection Types 2024-05-17 02:52:50 +01:00
Styles/Dark Made progress bars more legible in dark mode 2024-06-29 07:02:17 -04:00
TAS TAS Input: Enable hotkeys and controller input when Input has focus 2024-05-31 15:14:44 -07:00
AboutDialog.cpp AboutDialog: Update copyright year to 2024 2024-06-24 15:06:54 -04:00
AboutDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CheatSearchFactoryWidget.cpp Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
CheatSearchFactoryWidget.h DolphinQt: Rewrite cheat search GUI. 2021-09-15 19:05:49 +02:00
CheatSearchWidget.cpp Adjust order and spacing of various #includes 2024-07-26 14:28:34 -07:00
CheatSearchWidget.h DolphinQt: Allow Cheat Search to create multiple AR codes when selecting multiple lines. 2024-03-17 01:29:39 -05:00
CheatsManager.cpp Revert "Audit uses of IsRunning and GetState" 2024-06-26 20:36:46 +02:00
CheatsManager.h CheatsManager/CheatSearchWidget: Avoid Global System Accessor 2024-03-11 20:51:15 -07:00
CMakeLists.txt DolphinQt: Delete output Sys folder before copying to it 2024-08-16 21:09:10 +02:00
ConvertDialog.cpp Small wording changes for dump conversions 2024-08-16 18:39:23 +01:00
ConvertDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DiscordHandler.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
DiscordHandler.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DiscordJoinRequestDialog.cpp Remove most uses of StringFromFormat in favor of fmt 2022-10-12 16:50:47 -07:00
DiscordJoinRequestDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DolphinEmu.entitlements DolphinQt: Remove entitlements for Steam overlay 2024-08-15 12:42:15 -04:00
DolphinEmuDebug.entitlements DolphinQt: Remove entitlements for Steam overlay 2024-08-15 12:42:15 -04:00
DolphinQt.manifest DolphinQt: dont set dpi awareness in manifest 2023-04-25 10:49:46 -07:00
DolphinQt.rc Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
DolphinQt.vcxproj DolphinQt: Delete output Sys folder before copying to it 2024-08-16 21:09:10 +02:00
DolphinQt.vcxproj.user msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
GBAHost.cpp Qt/Core: Refactor GBA Core accessors 2021-07-24 14:54:57 +02:00
GBAHost.h Qt: Implement GBA host and widget 2021-07-13 16:43:28 +02:00
GBAWidget.cpp Core::RunOnCPUThread: Avoid Global System Accessor 2024-03-28 10:10:03 -07:00
GBAWidget.h GBAWidget: Add missing override specifiers 2023-12-13 10:12:18 -05:00
GCMemcardCreateNewDialog.cpp Add wrapper function to disable hotkeys for QFileDialog 2021-10-09 22:43:56 -04:00
GCMemcardCreateNewDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GCMemcardManager.cpp i18n: Add comments and improve source strings 2024-07-28 14:38:20 +02:00
GCMemcardManager.h GCMemcardManager: Shorten-up EnumMap definitions 2023-06-08 13:05:13 -04:00
Host.cpp FrameAdvance: Fix continuous frame advancing while the debug UI is open. Blocks signals from being spammed to update the UI. 2024-06-26 16:19:03 -07:00
Host.h TAS Input: Enable hotkeys and controller input when Input has focus 2024-05-31 15:14:44 -07:00
HotkeyScheduler.cpp Add Open Achievements Hotkey 2024-07-06 07:36:31 -04:00
HotkeyScheduler.h Add Open Achievements Hotkey 2024-07-06 07:36:31 -04:00
Info.plist.in DolphinQt: Rename output bundle on macOS to DolphinQt 2024-07-30 21:44:46 -04:00
Main.cpp MainWindow: Remove Show() and redistribute its logic to other places. 2024-06-23 10:49:14 -07:00
MainWindow.cpp i18n: Add comments and improve source strings 2024-07-28 14:38:20 +02:00
MainWindow.h MainWindow: Remove Show() and redistribute its logic to other places. 2024-06-23 10:49:14 -07:00
MenuBar.cpp MenuBar: Update checkmarked Select State Slot when hotkey pressed 2024-08-13 12:53:29 -07:00
MenuBar.h Revert "Audit uses of IsRunning and GetState" 2024-06-26 20:36:46 +02:00
NANDRepairDialog.cpp Qt: Make custom dialog for NAND Repair. 2022-08-28 03:11:17 +02:00
NANDRepairDialog.h Qt: Make custom dialog for NAND Repair. 2022-08-28 03:11:17 +02:00
NKitWarningDialog.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
NKitWarningDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
pch_qt.cpp msbuild: add pch for dolphinqt 2022-06-21 13:35:14 -07:00
pch_qt.h msbuild: add pch for dolphinqt 2022-06-21 13:35:14 -07:00
qt.conf Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00
qt.conf.win DolphinQt/CMake: Building on Windows 2019-05-12 00:05:10 +02:00
qt6.natvis Add support for building against Qt 6 2022-05-02 22:39:33 -07:00
RenderWidget.cpp Core: Store current state in less places 2024-06-21 20:46:44 +02:00
RenderWidget.h Remove rounded corners on emulation render window 2024-04-28 12:41:39 +03:00
resource.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
ResourcePackManager.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
ResourcePackManager.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Resources.cpp DolphinQt: cache icons instead of single pixmaps 2023-04-25 12:34:27 -07:00
Resources.h DolphinQt: cache icons instead of single pixmaps 2023-04-25 12:34:27 -07:00
RiivolutionBootWidget.cpp Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
RiivolutionBootWidget.h Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
SearchBar.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SearchBar.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Settings.cpp GeneralPane: Add BalloonTip to cheats checkbox 2024-07-29 14:00:46 -07:00
Settings.h GeneralPane: Add BalloonTip to cheats checkbox 2024-07-29 14:00:46 -07:00
ToolBar.cpp Core::GetState: Avoid Global System Accessor 2024-04-08 16:23:23 -07:00
ToolBar.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Translation.cpp Remove most uses of StringFromFormat in favor of fmt 2022-10-12 16:50:47 -07:00
Translation.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Updater.cpp DolphinQt: Properly Delete (Some) Widgets 2024-04-30 11:17:28 -07:00
Updater.h Qt/Updater: Remove unused member variable. 2022-11-15 00:56:08 +01:00
WiiUpdate.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
WiiUpdate.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00