1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

fatal: alignas doesn't actually work

This commit is contained in:
Michael Scire 2019-01-24 09:31:54 -08:00
parent 0e4c300745
commit 051789c430

View file

@ -21,8 +21,8 @@
#include "fatal_payload_manager.hpp"
/* TODO: Find a way to pre-populate this with the contents of fusee-primary. */
static alignas(0x1000) u8 g_reboot_payload[IRAM_PAYLOAD_MAX_SIZE];
static alignas(0x1000) u8 g_work_page[0x1000];
static u8 g_reboot_payload[IRAM_PAYLOAD_MAX_SIZE] __attribute__ ((aligned (0x1000)));
static u8 g_work_page[0x1000] __attribute__ ((aligned (0x1000)));
static bool g_payload_loaded = false;
void FatalPayloadManager::LoadPayloadFromSdCard() {