Stop stroring global variables in data section

This commit is contained in:
Maschell 2024-03-29 08:53:01 +01:00
parent 626704d06f
commit 77c7db4ed9

View File

@ -1,5 +1,5 @@
#include "globals.h" #include "globals.h"
RPXLoader_ReplacementInformation gReplacementInfo __attribute__((section(".data"))); RPXLoader_ReplacementInformation gReplacementInfo = {};
CRLayerHandle contentLayerHandle __attribute__((section(".data"))) = 0; CRLayerHandle contentLayerHandle = 0;
CRLayerHandle saveLayerHandle __attribute__((section(".data"))) = 0; CRLayerHandle saveLayerHandle = 0;