mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
boot: reduce memory footprint
This commit is contained in:
parent
6abd756e0c
commit
ae2fa2fa60
2 changed files with 3 additions and 3 deletions
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue