Allocate memory for storing plugins on the default heap

This commit is contained in:
Maschell
2021-01-01 01:59:36 +01:00
parent ec443161af
commit 881337ca41
2 changed files with 4 additions and 3 deletions

View File

@@ -98,6 +98,6 @@ std::optional<PluginData> PluginDataFactory::load(std::vector<uint8_t> &buffer,
return std::nullopt;
}
PluginData pluginData(buffer, heapHandle, eMemoryTypes::eMemTypeExpHeap);
PluginData pluginData(buffer, heapHandle, eMemoryTypes::eMemTypeMEM2);
return pluginData;
}