mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-11 12:16:06 -05:00
Format the code via clang-format
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#include "PluginData.h"
|
||||
|
||||
#include <utility>
|
||||
#include <malloc.h>
|
||||
#include "../utils/logger.h"
|
||||
#include <malloc.h>
|
||||
#include <utility>
|
||||
|
||||
PluginData::PluginData(const PluginData &obj) {
|
||||
this->buffer = obj.buffer;
|
||||
this->buffer = obj.buffer;
|
||||
this->heapHandle = obj.heapHandle;
|
||||
this->memoryType = obj.memoryType;
|
||||
this->length = obj.length;
|
||||
this->length = obj.length;
|
||||
}
|
||||
|
||||
void PluginData::freeMemory() {
|
||||
@@ -34,10 +34,9 @@ void PluginData::freeMemory() {
|
||||
PluginData::PluginData(const std::vector<uint8_t> &buffer) : PluginData(buffer, nullptr, eMemTypeMEM2) {
|
||||
}
|
||||
|
||||
PluginData::PluginData(const std::vector<uint8_t> &input, MEMHeapHandle heapHandle, eMemoryTypes memoryType) :
|
||||
heapHandle(heapHandle),
|
||||
memoryType(memoryType),
|
||||
length(input.size()) {
|
||||
PluginData::PluginData(const std::vector<uint8_t> &input, MEMHeapHandle heapHandle, eMemoryTypes memoryType) : heapHandle(heapHandle),
|
||||
memoryType(memoryType),
|
||||
length(input.size()) {
|
||||
void *data_copy = nullptr;
|
||||
switch (memoryType) {
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user