diff --git a/stratosphere/boot/source/boot_main.cpp b/stratosphere/boot/source/boot_main.cpp index 68be3ca9b..23111d5df 100644 --- a/stratosphere/boot/source/boot_main.cpp +++ b/stratosphere/boot/source/boot_main.cpp @@ -46,8 +46,8 @@ extern "C" { u32 __nx_applet_type = AppletType_None; - /* TODO: Evaluate to what extent this can be reduced. */ - #define INNER_HEAP_SIZE 0x200000 + /* TODO: Evaluate to what extent this can be reduced further. */ + #define INNER_HEAP_SIZE 0x20000 size_t nx_inner_heap_size = INNER_HEAP_SIZE; char nx_inner_heap[INNER_HEAP_SIZE]; diff --git a/stratosphere/boot/source/boot_repair_boot_images.cpp b/stratosphere/boot/source/boot_repair_boot_images.cpp index 2475d2ace..7eba04b4d 100644 --- a/stratosphere/boot/source/boot_repair_boot_images.cpp +++ b/stratosphere/boot/source/boot_repair_boot_images.cpp @@ -25,7 +25,7 @@ namespace sts::boot { namespace { /* Globals. */ - u8 __attribute__((aligned(0x1000))) g_boot_image_work_buffer[0x10000]; + alignas(0x1000) u8 g_boot_image_work_buffer[0x10000]; }