dolphin/Source/Core/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
..
Boot Handle partitions in /dev/di, not DVDInterface 2020-01-04 11:43:32 -08:00
Config DolphinQt: Give hotkeys their own "background input" setting. 2020-02-10 20:06:29 -06:00
ConfigLoaders Add an option to present/skip presenting duplicate frames 2020-01-14 10:57:35 +10:00
Debugger Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
DSP Source/Core/Core/DSP/DSPTables.cpp: include <cstdio> for sprintf 2020-03-05 21:20:34 +00:00
FifoPlayer FifoPlayer: Use std::move for saving callbacks 2019-09-09 11:38:21 +12:00
HLE HLE: Fix patching functions with the same name 2019-09-28 17:38:43 +04:00
HW Merge pull request #8535 from JosJuice/movie-save-detection 2020-03-16 00:19:14 +01:00
IOS Merge pull request #8594 from leoetlino/fs-createfullpath-fix 2020-02-02 16:50:02 +01:00
PowerPC Breakpoints: Fix crash after clearing all memory breakpoints 2020-03-14 21:57:09 +09:00
ActionReplay.cpp Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
ActionReplay.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Analytics.cpp Report use of DI interrupt mask commands as a game quirk 2020-02-02 00:44:12 -08:00
Analytics.h Report use of DI interrupt mask commands as a game quirk 2020-02-02 00:44:12 -08:00
ARDecrypt.cpp CommonFuncs: Generify rotation functions and move them to BitUtils.h 2018-03-31 18:09:45 -04:00
ARDecrypt.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
BootManager.cpp Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
BootManager.h Add /dev/dolphin for homebrew to get information about Dolphin 2019-11-09 15:31:51 +01:00
CMakeLists.txt Add /dev/dolphin for homebrew to get information about Dolphin 2019-11-09 15:31:51 +01:00
CommonTitles.h Include the Korean Wii Shop Channel when checking default credentials 2018-09-15 17:28:23 +02:00
ConfigManager.cpp Add path to File Name column of game grid 2020-03-02 17:38:28 +13:00
ConfigManager.h Add path to File Name column of game grid 2020-03-02 17:38:28 +13:00
Core.cpp Merge pull request #8609 from jordan-woyak/separate-hotkey-background-input 2020-03-15 22:35:49 +01:00
Core.h DolphinQt: Give hotkeys their own "background input" setting. 2020-02-10 20:06:29 -06:00
Core.vcxproj Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
Core.vcxproj.filters Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
CoreTiming.cpp Core: Replace usages of StringFromFormat with fmt where applicable 2019-11-11 07:32:57 -05:00
CoreTiming.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DSPEmulator.cpp DSPEmulator: Default destructor in the cpp file 2018-05-29 07:54:39 -04:00
DSPEmulator.h DSPEmulator: Make the IsLLE() member function const-qualified 2018-05-29 17:45:07 -04:00
GeckoCode.cpp PowerPC: Factor out CR helpers into POD class 2019-03-08 20:42:09 +01:00
GeckoCode.h Netplay: Sync codes 2018-10-29 23:00:51 +01:00
GeckoCodeConfig.cpp Core/GeckoCodeConfig : Fix Gecko codes formatting 2020-02-14 11:51:36 +01:00
GeckoCodeConfig.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Host.h InputCommon: Make the "input gate" not racey. 2019-11-06 16:31:02 -06:00
HotkeyManager.cpp Merge pull request #8597 from SirMangler/master 2020-03-15 22:40:51 +01:00
HotkeyManager.h Added Toggle Freelook Hotkey 2020-01-31 20:45:08 +00:00
LibusbUtils.cpp Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
LibusbUtils.h Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
MachineContext.h Compile fixes for Windows-on-ARM64 2019-12-28 19:20:41 +10:00
MemoryWatcher.cpp Use std::istringstream or std::ostringstream instead of std::stringstream where possible. 2019-12-29 23:45:02 -05:00
MemoryWatcher.h Step MemoryWatcher at end of each video frame. 2019-05-08 11:20:59 +01:00
MemTools.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
MemTools.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Movie.cpp Movie: Make checking for existing GC saves more reliable 2020-03-15 23:56:34 +01:00
Movie.h NetPlay: Remove 'reduce polling rate' option 2019-08-26 02:11:49 -04:00
NetPlayClient.cpp Core/NetPlayClient: Add documentation for SendPadHostPoll 2020-02-06 07:24:00 -05:00
NetPlayClient.h Show a message in netplay chat when a player joins or leaves 2019-07-30 20:14:51 -07:00
NetPlayProto.h NetPlay: Remove 'reduce polling rate' option 2019-08-26 02:11:49 -04:00
NetPlayServer.cpp Core/NetPlayServer: Fix session not being added to index on direct connection type 2020-02-17 21:05:32 -05:00
NetPlayServer.h Core/NetPlayServer: Fix session not being added to index on direct connection type 2020-02-17 21:05:32 -05:00
PatchEngine.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
PatchEngine.h PatchEngine: Make PatchType an enum class 2018-05-13 15:46:51 -04:00
State.cpp Bump state version 2020-01-04 11:43:33 -08:00
State.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
SysConf.cpp Common/Core: Minor rvalue reference related cleanups. 2020-01-23 22:58:23 -06:00
SysConf.h Common/Core: Minor rvalue reference related cleanups. 2020-01-23 22:58:23 -06:00
TitleDatabase.cpp Core: Replace usages of StringFromFormat with fmt where applicable 2019-11-11 07:32:57 -05:00
TitleDatabase.h TitleDatabase: Don't merge multiple languages into same map 2019-02-25 19:55:46 +01:00
WiiRoot.cpp Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
WiiRoot.h Back up Wii setting.txt and SYSCONF while emulating 2020-03-16 21:04:19 +01:00
WiiUtils.cpp Merge pull request #8255 from JosJuice/remove-unsigned-warning 2019-08-21 09:38:35 -07:00
WiiUtils.h DiscIO: Merge WiiWAD into VolumeWAD 2019-07-18 22:29:04 +02:00