CDVD/NVM: Plan B, force user to set up their BIOS first run.

This commit is contained in:
refractionpcsx2 2020-11-21 17:01:14 +00:00
parent 358f098b65
commit 142082837c
1 changed files with 1 additions and 3 deletions

View File

@ -165,13 +165,11 @@ static void cdvdNVM(u8* buffer, int offset, size_t bytes, bool read)
NVMLayout* nvmLayout = getNvmLayout();
u8 ILinkID_Data[8] = { 0x00, 0xAC, 0xFF, 0xFF, 0xFF, 0xFF, 0xB9, 0x86 };
u8 Language_Data[8] = { 0x30, 0x21, 0x80, 0x00, 0x00, 0x70, 0x00, 0x00 };
fp.Seek(*(s32*)(((u8*)nvmLayout) + offsetof(NVMLayout, ilinkId)));
fp.Write(ILinkID_Data, sizeof(ILinkID_Data));
fp.Seek(*(s32*)(((u8*)nvmLayout) + offsetof(NVMLayout, config1)) + 0x10);
fp.Write(Language_Data, sizeof(Language_Data));
g_SkipBiosHack = false;
}
wxFFile fp(fname, L"r+b");