WiiUPluginLoaderBackend/source/globals.cpp
Daniel K. O. 5f23142b2d
Add WUPSConfigAPI_Menu_GetStatus() function. (#89)
* Add `WUPSConfigAPI_Menu_GetStatus()` function.

--HG--
branch : menu-status-api-hg

* Indentation fix.

--HG--
branch : menu-status-api-hg

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-12-01 09:13:16 +01:00

23 lines
686 B
C++

#include "globals.h"
#include "plugin/PluginContainer.h"
#include "plugin/PluginData.h"
StoredBuffer gStoredTVBuffer = {};
StoredBuffer gStoredDRCBuffer = {};
std::vector<PluginContainer> gLoadedPlugins;
std::vector<relocation_trampoline_entry_t> gTrampData;
std::set<std::shared_ptr<PluginData>, PluginDataSharedPtrComparator> gLoadedData;
std::vector<std::shared_ptr<PluginData>> gLoadOnNextLaunch;
std::mutex gLoadedDataMutex;
std::map<std::string, OSDynLoad_Module> gUsedRPLs;
std::vector<void *> gAllocatedAddresses;
bool gNotificationModuleLoaded = false;
OSThread *gOnlyAcceptFromThread = nullptr;
bool gConfigMenuShouldClose = false;
bool gConfigMenuOpened = false;