mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 23:08:22 -04:00
fusee: fixes for sd meso on lower firmwares
This commit is contained in:
parent
ff9b9fc5ff
commit
bb1cdd8c87
2 changed files with 10 additions and 3 deletions
|
@ -936,7 +936,7 @@ uint32_t nxboot_main(void) {
|
|||
size_t sd_meso_size = get_file_size("atmosphere/mesosphere.bin");
|
||||
if (sd_meso_size != 0) {
|
||||
if (sd_meso_size > PACKAGE2_SIZE_MAX) {
|
||||
fatal_error("Error: atmosphere/kernel.bin is too large!\n");
|
||||
fatal_error("Error: atmosphere/mesosphere.bin is too large!\n");
|
||||
}
|
||||
mesosphere = malloc(sd_meso_size);
|
||||
if (mesosphere == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue