From 051789c430d67ed916226d16108be5aade3579da Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 24 Jan 2019 09:31:54 -0800 Subject: [PATCH] fatal: alignas doesn't actually work --- stratosphere/fatal/source/fatal_payload_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stratosphere/fatal/source/fatal_payload_manager.cpp b/stratosphere/fatal/source/fatal_payload_manager.cpp index 22ede3638..52a72d7d6 100644 --- a/stratosphere/fatal/source/fatal_payload_manager.cpp +++ b/stratosphere/fatal/source/fatal_payload_manager.cpp @@ -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() {