mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 04:59:16 +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>
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user