2020-05-17 20:40:05 +02:00
|
|
|
#pragma once
|
2022-02-04 16:25:44 +01:00
|
|
|
#include "plugin/PluginContainer.h"
|
2021-04-07 00:23:23 +02:00
|
|
|
#include "utils/ConfigUtils.h"
|
2022-09-19 16:06:38 +02:00
|
|
|
#include "version.h"
|
2022-10-05 20:08:49 +02:00
|
|
|
#include <coreinit/dynload.h>
|
2022-05-14 14:00:20 +02:00
|
|
|
#include <forward_list>
|
|
|
|
#include <memory>
|
|
|
|
#include <mutex>
|
|
|
|
#include <vector>
|
|
|
|
#include <wums/defines/relocation_defines.h>
|
|
|
|
|
2023-03-23 14:58:28 +01:00
|
|
|
#define VERSION "v0.2.3"
|
2022-09-19 16:06:38 +02:00
|
|
|
#define VERSION_FULL VERSION VERSION_EXTRA
|
|
|
|
|
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
|
|
|
|
extern relocation_trampoline_entry_t *gTrampData;
|
|
|
|
extern std::vector<std::unique_ptr<PluginContainer>> gLoadedPlugins;
|
2021-04-01 00:37:22 +02:00
|
|
|
|
2022-05-14 14:00:20 +02:00
|
|
|
extern std::forward_list<std::shared_ptr<PluginData>> gLoadedData;
|
|
|
|
extern std::forward_list<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;
|