From 77c7db4ed9f3eb84050f1060deafc0b0a2f107f8 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 29 Mar 2024 08:53:01 +0100 Subject: [PATCH] Stop stroring global variables in data section --- src/globals.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/globals.cpp b/src/globals.cpp index 40efb1e..6b29cb0 100644 --- a/src/globals.cpp +++ b/src/globals.cpp @@ -1,5 +1,5 @@ -#include "globals.h" - -RPXLoader_ReplacementInformation gReplacementInfo __attribute__((section(".data"))); -CRLayerHandle contentLayerHandle __attribute__((section(".data"))) = 0; -CRLayerHandle saveLayerHandle __attribute__((section(".data"))) = 0; \ No newline at end of file +#include "globals.h" + +RPXLoader_ReplacementInformation gReplacementInfo = {}; +CRLayerHandle contentLayerHandle = 0; +CRLayerHandle saveLayerHandle = 0; \ No newline at end of file