Merge branch 'master' of https://github.com/AuroraWright/Luma3DS
This commit is contained in:
commit
43f3c84316
@ -220,15 +220,12 @@ bool doLangEmu(Result *res, Handle handle, u32 *cmdbuf)
|
|||||||
else if(cmdbuf[1] == 4 && cmdbuf[2] == 0xB0000 && cmdbuf[3] == 0x4C && (attribs->mask & 0xC))
|
else if(cmdbuf[1] == 4 && cmdbuf[2] == 0xB0000 && cmdbuf[3] == 0x4C && (attribs->mask & 0xC))
|
||||||
{
|
{
|
||||||
u8 *ptr = (u8 *)cmdbuf[4];
|
u8 *ptr = (u8 *)cmdbuf[4];
|
||||||
*res = SendSyncRequest(handle);
|
if(attribs->mask & 4)
|
||||||
flushEntireDataCache(); // looks like it's needed. WTF?!
|
ptr[3] = attribs->country;
|
||||||
if(*res == 0)
|
if(attribs->mask & 8)
|
||||||
{
|
ptr[2] = attribs->state;
|
||||||
if(attribs->mask & 4)
|
|
||||||
ptr[3] = attribs->country;
|
ptr[0] = ptr[1] = 0;
|
||||||
if(attribs->mask & 8)
|
|
||||||
ptr[2] = attribs->state;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
skip = false;
|
skip = false;
|
||||||
|
Reference in New Issue
Block a user