Add array support to AllocateUntracked

This commit is contained in:
Billy Laws 2022-09-15 22:22:46 +01:00
parent 388cff3353
commit 6e22373b59

View File

@ -58,8 +58,8 @@ namespace skyline {
}
template<typename T>
T *AllocateUntracked() {
return reinterpret_cast<T *>(Allocate(sizeof(T), false));
T *AllocateUntracked(size_t count = 1) {
return reinterpret_cast<T *>(Allocate(sizeof(T) * count, false));
}
template<typename T, class... Args>