Fix a typo on the size passed in to the IPL descrambler.

Fixes issue #6081
This commit is contained in:
Ryan Houdek 2016-01-18 04:30:30 -06:00
parent 24c228c6e9
commit f73961663e
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ CEXIIPL::CEXIIPL() :
// Load whole ROM dump
LoadFileToIPL(SConfig::GetInstance().m_strBootROM, 0);
// Descramble the encrypted section (contains BS1 and BS2)
Descrambler(m_pIPL + 0x100, 0x1aff00);
Descrambler(m_pIPL + 0x100, 0x1afe00);
INFO_LOG(BOOT, "Loaded bootrom: %s", m_pIPL); // yay for null-terminated strings ;p
}