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
This commit is contained in:
LPFaint99
2011-05-07 03:48:27 +00:00
parent 9222a818ae
commit 69645d421b
6 changed files with 25 additions and 44 deletions

View File

@ -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"

View File

@ -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;
}

View File

@ -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);