mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-11 12:16:06 -05:00
Add missing copy constructors
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
#include "PluginData.h"
|
||||
|
||||
|
||||
PluginData::PluginData(const PluginData &obj) {
|
||||
this->buffer = obj.buffer;
|
||||
this->heapHandle = obj.heapHandle;
|
||||
this->memoryType = obj.memoryType;
|
||||
this->length = obj.length;
|
||||
loadReader();
|
||||
}
|
||||
|
||||
void PluginData::freeMemory() {
|
||||
if (buffer == NULL) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user