WiiUPluginLoaderBackend/source/globals.h

32 lines
936 B
C
Raw Permalink Normal View History

2020-05-17 20:40:05 +02:00
#pragma once
2022-02-04 16:25:44 +01:00
#include "plugin/PluginContainer.h"
#include "utils/config/ConfigUtils.h"
#include "version.h"
#include <coreinit/dynload.h>
#include <forward_list>
#include <memory>
#include <mutex>
#include <vector>
#include <wums/defines/relocation_defines.h>
2024-05-10 12:32:00 +02:00
#define VERSION "v0.3.3"
#define VERSION_FULL VERSION VERSION_EXTRA
extern StoredBuffer gStoredTVBuffer;
extern StoredBuffer gStoredDRCBuffer;
2020-05-17 20:40:05 +02:00
#define TRAMP_DATA_SIZE 1024
extern std::vector<relocation_trampoline_entry_t> gTrampData;
extern std::vector<PluginContainer> gLoadedPlugins;
extern std::set<std::shared_ptr<PluginData>> gLoadedData;
extern std::set<std::shared_ptr<PluginData>> gLoadOnNextLaunch;
extern std::mutex gLoadedDataMutex;
extern std::map<std::string, OSDynLoad_Module> gUsedRPLs;
2022-10-09 16:36:00 +02:00
extern std::vector<void *> gAllocatedAddresses;
2023-08-16 10:08:44 +02:00
extern bool gNotificationModuleLoaded;
extern OSThread *gOnlyAcceptFromThread;
extern bool gConfigMenuShouldClose;