Stop stroring global variables in data section

This commit is contained in:
Maschell 2024-03-29 08:53:01 +01:00
parent 626704d06f
commit 841e673e08
1 changed files with 5 additions and 5 deletions

View File

@ -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;
#include "globals.h"
RPXLoader_ReplacementInformation gReplacementInfo = {};
CRLayerHandle contentLayerHandle = 0;
CRLayerHandle saveLayerHandle = 0;