mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-05 20:45:07 +01:00
Move global variables out of data section
This commit is contained in:
parent
a84b848d8a
commit
d2adc304f0
@ -1,15 +1,15 @@
|
|||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
|
|
||||||
StoredBuffer gStoredTVBuffer __attribute__((section(".data"))) = {};
|
StoredBuffer gStoredTVBuffer = {};
|
||||||
StoredBuffer gStoredDRCBuffer __attribute__((section(".data"))) = {};
|
StoredBuffer gStoredDRCBuffer = {};
|
||||||
|
|
||||||
std::vector<std::unique_ptr<PluginContainer>> gLoadedPlugins __attribute__((section(".data")));
|
std::vector<std::unique_ptr<PluginContainer>> gLoadedPlugins;
|
||||||
std::vector<relocation_trampoline_entry_t> gTrampData __attribute__((section(".data")));
|
std::vector<relocation_trampoline_entry_t> gTrampData;
|
||||||
|
|
||||||
std::set<std::shared_ptr<PluginData>> gLoadedData __attribute__((section(".data")));
|
std::set<std::shared_ptr<PluginData>> gLoadedData;
|
||||||
std::set<std::shared_ptr<PluginData>> gLoadOnNextLaunch __attribute__((section(".data")));
|
std::set<std::shared_ptr<PluginData>> gLoadOnNextLaunch;
|
||||||
std::mutex gLoadedDataMutex __attribute__((section(".data")));
|
std::mutex gLoadedDataMutex;
|
||||||
std::map<std::string, OSDynLoad_Module> gUsedRPLs __attribute__((section(".data")));
|
std::map<std::string, OSDynLoad_Module> gUsedRPLs;
|
||||||
std::vector<void *> gAllocatedAddresses __attribute__((section(".data")));
|
std::vector<void *> gAllocatedAddresses;
|
||||||
|
|
||||||
bool gNotificationModuleLoaded __attribute__((section(".data"))) = false;
|
bool gNotificationModuleLoaded = false;
|
Loading…
Reference in New Issue
Block a user