WiiUPluginLoaderBackend/source/plugin/PluginInformation.cpp

20 lines
738 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) {
2022-02-04 16:25:44 +01: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
}
2022-02-04 16:25:44 +01: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
}
2022-02-04 16:25:44 +01: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
}
2022-02-04 16:25:44 +01:00
for (const auto &i : other.symbol_data_list) {
symbol_data_list.insert(i);
}
2022-02-04 16:25:44 +01:00
section_info_list = other.section_info_list;
trampolineId = other.trampolineId;
2020-05-17 20:43:04 +02:00
allocatedTextMemoryAddress = other.allocatedTextMemoryAddress;
allocatedDataMemoryAddress = other.allocatedDataMemoryAddress;
}