dolphin/Source/Core
JosJuice 1b844067aa Back up Wii setting.txt and SYSCONF while emulating
When booting a Wii game, Dolphin can overwrite certain settings
in the SYSCONF file, such as turning off PAL60 for NTSC games.
Normally, these settings get reverted at the end of emulation, but
this does not happen if Dolphin crashes or force quits in some other
way. (Personally, I have a tendency to use Visual Studio's Stop
Debugging button, which kills the process...)

Dolphin also overwrites certain values in setting.txt when booting
a Wii game. Unlike with SYSCONF, we currently make no effort to
preserve the original values in this file.

This change fixes both of these problems by copying SYSCONF and
setting.txt to the Backup folder when booting a Wii game, and then
copying them back either when launching Dolphin (in case the
previous run of Dolphin crashed) or when ending emulation.
2020-03-16 21:04:19 +01:00
..
AudioCommon Use std::istringstream or std::ostringstream instead of std::stringstream where possible. 2019-12-29 23:45:02 -05:00
Common StringUtil: Add PathToFileName function 2020-03-16 21:03:34 +01:00
Core Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
DiscIO Merge pull request #8621 from JosJuice/volumeverifier-invalid-partition 2020-02-10 09:33:29 +00:00
DolphinNoGUI Common: Add a render_window field to WindowSystemInfo 2020-03-11 23:09:30 +10:00
DolphinQt StringUtil: Add PathToFileName function 2020-03-16 21:03:34 +01:00
InputCommon Merge pull request #8647 from jordan-woyak/minor-input-cleanups 2020-03-15 15:06:54 +01:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
UpdaterCommon Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
VideoBackends Vulkan: Pass CAMetalLayer to MoltenVK instead of NSView 2020-03-11 23:11:26 +10:00
VideoCommon VideoCommon: Allow texture folders to be determined by a <gameid>.txt file 2020-03-15 12:34:04 -05:00
WinUpdater Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00