WiiUPluginLoaderBackend/source/plugin/PluginInformation.cpp

17 lines
617 B
C++
Raw Normal View History

2020-05-17 20:43:04 +02:00
#include "PluginInformation.h"
2020-05-28 20:51:31 +02:00
PluginInformation::PluginInformation(const PluginInformation &other) {
2021-09-25 14:26:18 +02:00
for (const auto &i: other.hook_data_list) {
2020-12-26 14:17:50 +01:00
hook_data_list.push_back(i);
2020-05-17 20:43:04 +02:00
}
2021-09-25 14:26:18 +02:00
for (const auto &i: other.function_data_list) {
2020-12-26 14:17:50 +01:00
function_data_list.push_back(i);
2020-05-17 20:43:04 +02:00
}
2021-09-25 14:26:18 +02:00
for (const auto &i: other.relocation_data_list) {
2020-12-26 14:17:50 +01:00
relocation_data_list.push_back(i);
2020-05-17 20:43:04 +02:00
}
section_info_list = other.section_info_list;
trampolinId = other.trampolinId;
allocatedTextMemoryAddress = other.allocatedTextMemoryAddress;
allocatedDataMemoryAddress = other.allocatedDataMemoryAddress;
}