mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2026-04-27 02:16:52 -05:00
27 lines
618 B
C++
27 lines
618 B
C++
#pragma once
|
|
|
|
#include <coreinit/dynload.h>
|
|
|
|
#include <map>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include <cstdint>
|
|
|
|
namespace WUMSLoader::Modules {
|
|
class ModuleContainer;
|
|
class RelocationData;
|
|
|
|
namespace RelocationUtils {
|
|
|
|
enum class ExternalRPLLoadingStrategy {
|
|
LOAD_EXTERNAL_RPLS,
|
|
IGNORE_EXTERNAL_RPLS
|
|
};
|
|
|
|
bool ResolveRelocations(const std::vector<ModuleContainer> &loadedModules,
|
|
ExternalRPLLoadingStrategy rplLoadingStrategy,
|
|
std::map<std::string, OSDynLoad_Module, std::less<>> &usedRPls);
|
|
|
|
} // namespace RelocationUtils
|
|
} // namespace WUMSLoader::Modules
|