mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-25 14:16:53 +01:00
Formatting
This commit is contained in:
parent
c1c7594926
commit
4bf4a0eeea
@ -42,7 +42,7 @@ bool PluginManagement::doRelocation(const std::vector<RelocationData> &relocData
|
||||
}
|
||||
|
||||
|
||||
void PluginManagement::doRelocations(std::vector<PluginContainer> plugins, relocation_trampolin_entry_t * trampData, uint32_t tramp_size) {
|
||||
void PluginManagement::doRelocations(const std::vector<PluginContainer> &plugins, relocation_trampolin_entry_t *trampData, uint32_t tramp_size) {
|
||||
for (auto &pluginContainer : plugins) {
|
||||
DEBUG_FUNCTION_LINE("Doing relocations for plugin: %s", pluginContainer.getMetaInformation().getName().c_str());
|
||||
|
||||
@ -52,7 +52,7 @@ void PluginManagement::doRelocations(std::vector<PluginContainer> plugins, reloc
|
||||
}
|
||||
}
|
||||
|
||||
void PluginManagement::memsetBSS(std::vector<PluginContainer> plugins) {
|
||||
void PluginManagement::memsetBSS(const std::vector<PluginContainer> &plugins) {
|
||||
for (auto &pluginContainer : plugins) {
|
||||
auto sbssSection = pluginContainer.getPluginInformation().getSectionInfo(".sbss");
|
||||
if (sbssSection) {
|
||||
|
@ -7,10 +7,8 @@
|
||||
class PluginManagement {
|
||||
public:
|
||||
|
||||
static void Init(std::vector<PluginContainer> pInformation);
|
||||
|
||||
static void doRelocations(std::vector<PluginContainer> plugins, relocation_trampolin_entry_t *trampData, uint32_t tramp_size);
|
||||
static void memsetBSS(std::vector<PluginContainer> plugins);
|
||||
static void doRelocations(const std::vector<PluginContainer>& plugins, relocation_trampolin_entry_t *trampData, uint32_t tramp_size);
|
||||
static void memsetBSS(const std::vector<PluginContainer>& plugins);
|
||||
|
||||
static void callInitHooks(plugin_information_t *pluginInformation);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user