2020-05-17 20:40:05 +02:00
|
|
|
#pragma once
|
2024-11-27 20:44:36 +01:00
|
|
|
|
|
|
|
#include "utils/config/ConfigDefines.h"
|
2022-09-19 16:06:38 +02:00
|
|
|
#include "version.h"
|
2022-10-05 20:08:49 +02:00
|
|
|
#include <coreinit/dynload.h>
|
2024-11-27 20:44:36 +01:00
|
|
|
#include <coreinit/thread.h>
|
|
|
|
#include <map>
|
2022-05-14 14:00:20 +02:00
|
|
|
#include <memory>
|
2024-11-27 20:44:36 +01:00
|
|
|
#include <set>
|
2022-05-14 14:00:20 +02:00
|
|
|
#include <vector>
|
|
|
|
#include <wums/defines/relocation_defines.h>
|
|
|
|
|
2024-11-27 20:44:36 +01:00
|
|
|
#define MODULE_VERSION "v0.3.4"
|
|
|
|
#define MODULE_VERSION_FULL MODULE_VERSION MODULE_VERSION_EXTRA
|
|
|
|
|
2024-11-27 20:44:20 +01:00
|
|
|
class PluginDataSharedPtrComparator;
|
2024-11-27 20:44:36 +01:00
|
|
|
class PluginData;
|
|
|
|
class PluginContainer;
|
2022-09-19 16:06:38 +02:00
|
|
|
|
2022-05-14 14:00:20 +02:00
|
|
|
extern StoredBuffer gStoredTVBuffer;
|
|
|
|
extern StoredBuffer gStoredDRCBuffer;
|
2020-05-17 20:40:05 +02:00
|
|
|
|
2022-05-14 14:00:20 +02:00
|
|
|
#define TRAMP_DATA_SIZE 1024
|
2023-11-04 15:32:45 +01:00
|
|
|
extern std::vector<relocation_trampoline_entry_t> gTrampData;
|
2024-03-24 07:40:58 +01:00
|
|
|
extern std::vector<PluginContainer> gLoadedPlugins;
|
2021-04-01 00:37:22 +02:00
|
|
|
|
2024-11-27 20:44:20 +01:00
|
|
|
extern std::set<std::shared_ptr<PluginData>, PluginDataSharedPtrComparator> gLoadedData;
|
|
|
|
extern std::vector<std::shared_ptr<PluginData>> gLoadOnNextLaunch;
|
2022-10-05 20:08:49 +02:00
|
|
|
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;
|
2024-05-03 13:00:18 +02:00
|
|
|
|
2024-05-03 15:08:24 +02:00
|
|
|
extern OSThread *gOnlyAcceptFromThread;
|
|
|
|
|
2024-12-01 09:13:16 +01:00
|
|
|
extern bool gConfigMenuShouldClose;
|
|
|
|
extern bool gConfigMenuOpened;
|