mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 07:04:24 -04:00
fusee_cpp: fix mariko mtc (mariko now gets as far as erista)
This commit is contained in:
parent
5950ff5b5e
commit
968ced677e
5 changed files with 595 additions and 895 deletions
|
@ -208,8 +208,7 @@ namespace ams::nxboot {
|
|||
if (soc_type == fuse::SocType_Mariko) {
|
||||
package1 += 0x170;
|
||||
|
||||
const u8 iv[0x10] = {};
|
||||
se::DecryptAes128Cbc(package1 + 0x20, 0x40000 - (0x20 + 0x170), pkg1::AesKeySlot_MarikoBek, package1 + 0x20, 0x40000 - (0x20 + 0x170), iv, sizeof(iv));
|
||||
se::DecryptAes128Cbc(package1 + 0x20, 0x40000 - (0x20 + 0x170), pkg1::AesKeySlot_MarikoBek, package1 + 0x20, 0x40000 - (0x20 + 0x170), package1 + 0x10, se::AesBlockSize);
|
||||
|
||||
hw::InvalidateDataCache(package1 + 0x20, 0x40000 - (0x20 + 0x170));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue