diff options
| author | LPFaint99 <lpfaint99@gmail.com> | 2011-05-07 03:48:27 +0000 |
|---|---|---|
| committer | LPFaint99 <lpfaint99@gmail.com> | 2011-05-07 03:48:27 +0000 |
| commit | 69645d421b4e570ac017b9380c49682f23ec03e6 (patch) | |
| tree | c018f205f9d53a78dd4efbba79bb29e778122786 /Source/Core/Common | |
| parent | 9222a818ae01323278406e78e5514e89c9962c7e (diff) | |
Move the HLE hack of setting.txt file redirection to the BS2Emu
we already copy the file to memory here, now we also copy the file to
1/2/data/
This should really fix issue 4287.
Thanks to hosigumayuugi for finding the exact cause of the issue
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7521 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/CommonPaths.h | 1 | ||||
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Common/Src/SysConf.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/CommonPaths.h b/Source/Core/Common/Src/CommonPaths.h index 96ced5b7c6..6949250560 100644 --- a/Source/Core/Common/Src/CommonPaths.h +++ b/Source/Core/Common/Src/CommonPaths.h @@ -121,6 +121,7 @@ #define GC_MEMCARDA "MemoryCardA" #define GC_MEMCARDB "MemoryCardB" +#define WII_SETTING. "setting.txt" #define WII_EUR_SETTING "setting-eur.txt" #define WII_USA_SETTING "setting-usa.txt" #define WII_JAP_SETTING "setting-jpn.txt" diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index bbfc03f2fa..2f061e789d 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -121,7 +121,7 @@ bool Delete(const std::string &filename) // We can't delete a directory if (IsDirectory(filename)) { - WARN_LOG(COMMON, "Delete: %s is a directory", filename.c_str()); + WARN_LOG(COMMON, "Delete failed: %s is a directory", filename.c_str()); return false; } diff --git a/Source/Core/Common/Src/SysConf.cpp b/Source/Core/Common/Src/SysConf.cpp index 9fd54174e4..3066013146 100644 --- a/Source/Core/Common/Src/SysConf.cpp +++ b/Source/Core/Common/Src/SysConf.cpp @@ -235,7 +235,7 @@ void SysConf::GenerateSysConf() // IPL.SADR current_offset += create_item(items[7], Type_BigArray, "IPL.SADR", 0x1007, current_offset); - items[7].data[0] = 0x6c; + items[7].data[0] = 0x6c; //(Switzerland) TODO should this default be changed? // IPL.CB current_offset += create_item(items[8], Type_Long, "IPL.CB", 4, current_offset); |
