mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 11:39:17 +01:00
Add array support to AllocateUntracked
This commit is contained in:
parent
388cff3353
commit
6e22373b59
@ -58,8 +58,8 @@ namespace skyline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
T *AllocateUntracked() {
|
T *AllocateUntracked(size_t count = 1) {
|
||||||
return reinterpret_cast<T *>(Allocate(sizeof(T), false));
|
return reinterpret_cast<T *>(Allocate(sizeof(T) * count, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, class... Args>
|
template<typename T, class... Args>
|
||||||
|
Loading…
Reference in New Issue
Block a user