error 003 fix when booting system menu 4.2. note that the 0x45 doesn't actually have a name tho

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4796 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
daco65 2010-01-08 22:11:18 +00:00
parent a3cfafcd12
commit 6575f9d03a
2 changed files with 7 additions and 1 deletions

View File

@ -717,7 +717,12 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
case IOCTL_ES_GETDEVICECERT: // (Input: none, Output: 384 bytes)
WARN_LOG(WII_IPC_ES, "IOCTL_ES_GETDEVICECERT: this looks really wrong...");
break;
case IOCTL_ES_CHECKKOREAREGION: //note by DacoTaco : name is unknown, i just tried to name it SOMETHING
//IOS70 has this to let system menu 4.2 check if the console is region changed. it returns -1017
//if the IOS didn't find the korean keys and 0 if it does. 0 leads to a error 003
WARN_LOG(WII_IPC_ES,"IOCTL_ES_CHECKKOREAREGION: Title Checked for korean Keys");
Memory::Write_U32(ES_PARAMTER_SIZE_OR_ALIGNMENT , _CommandAddress + 0x4);
return true;
default:
WARN_LOG(WII_IPC_ES, "CWII_IPC_HLE_Device_es: 0x%x", Buffer.Parameter);

View File

@ -97,6 +97,7 @@ private:
IOCTL_ES_GETSTOREDTMD = 0x35,
IOCTL_ES_GETSHAREDCONTENTCNT = 0x36,
IOCTL_ES_GETSHAREDCONTENTS = 0x37,
IOCTL_ES_CHECKKOREAREGION = 0x45,
};
enum EErrorCodes