summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-08-15 19:18:16 +0200
committerJosJuice <josjuice@gmail.com>2024-08-16 21:09:10 +0200
commita62f8eac1a4b6907d5e4a6ace9cf2b616aba67a1 (patch)
treed53b17bd96c18f8368be87ec044fea36e0781fa7 /Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
parent30c58eba96925c04db69892dabc912ea3f7fb8ab (diff)
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.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.cpp')
0 files changed, 0 insertions, 0 deletions