mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-14 22:36:39 -05:00
Add missing copy constructors
This commit is contained in:
17
source/plugin/PluginInformation.cpp
Normal file
17
source/plugin/PluginInformation.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "PluginInformation.h"
|
||||
|
||||
PluginInformation::PluginInformation(const PluginInformation& other) {
|
||||
for (size_t i=0; i<other.hook_data_list.size(); i++){
|
||||
hook_data_list.push_back(other.hook_data_list[i]);
|
||||
}
|
||||
for (size_t i=0; i<other.function_data_list.size(); i++){
|
||||
function_data_list.push_back(other.function_data_list[i]);
|
||||
}
|
||||
for (size_t i=0; i<other.relocation_data_list.size(); i++){
|
||||
relocation_data_list.push_back(other.relocation_data_list[i]);
|
||||
}
|
||||
section_info_list = other.section_info_list;
|
||||
trampolinId = other.trampolinId;
|
||||
allocatedTextMemoryAddress = other.allocatedTextMemoryAddress;
|
||||
allocatedDataMemoryAddress = other.allocatedDataMemoryAddress;
|
||||
}
|
||||
Reference in New Issue
Block a user