1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-29 23:32:23 +00:00

exo: fix warmboot memory address error

This commit is contained in:
Michael Scire 2020-05-18 08:57:20 -07:00
parent de9a3c6dfc
commit a2496e5462

View file

@ -442,7 +442,7 @@ static void copy_warmboot_bin_to_dram() {
const uint32_t target_fw = exosphere_get_target_firmware(); const uint32_t target_fw = exosphere_get_target_firmware();
if (target_fw >= ATMOSPHERE_TARGET_FIRMWARE_7_0_0) { if (target_fw >= ATMOSPHERE_TARGET_FIRMWARE_7_0_0) {
warmboot_src = (uint8_t *)0x4003E000; warmboot_src = (uint8_t *)0x4003E000;
} else if (target_fw >= ATMOSPHERE_TARGET_FIRMWARE_6_2_0) { } else if (target_fw >= ATMOSPHERE_TARGET_FIRMWARE_6_0_0) {
warmboot_src = (uint8_t *)0x4003D800; warmboot_src = (uint8_t *)0x4003D800;
} else if (target_fw >= ATMOSPHERE_TARGET_FIRMWARE_4_0_0) { } else if (target_fw >= ATMOSPHERE_TARGET_FIRMWARE_4_0_0) {
warmboot_src = (uint8_t *)0x4003B000; warmboot_src = (uint8_t *)0x4003B000;