mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-22 05:49:01 -04:00
Pjb dev 3 (#48)
* Undo array allocation changes from #43 Doesn't work * Expand dmeter heap sizes, give names * Fix manual operator delete call in resource.cpp * Disable map rendering for now Aurora can't handle lines * Re-enable assert heap on DVD thread Should be fine? * Some basic debug groups with the new Aurora API * Allow Aurora backend to be set via CLI * Give materials debug groups * More debug groups * JKRHeap separation: array edition Pain
This commit is contained in:
committed by
GitHub
parent
9e303b063f
commit
15732e241c
@@ -233,7 +233,7 @@ void daPy_anmHeap_c::initData() {
|
||||
}
|
||||
|
||||
void* daPy_anmHeap_c::mallocBuffer() {
|
||||
mBuffer = JKR_NEW_ARGS (0x20) u8[mBufferSize];
|
||||
mBuffer = JKR_NEW_ARRAY_ARGS(u8, mBufferSize, 0x20);
|
||||
return mBuffer;
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ void daPy_anmHeap_c::createHeap(daPy_anmHeap_c::daAlinkHEAP_TYPE i_heapType) {
|
||||
mAnimeHeap = mDoExt_createSolidHeapFromGameToCurrent(&tmp, size, 0x20);
|
||||
|
||||
if (i_heapType == 4) {
|
||||
tmpWork = JKR_NEW char[size];
|
||||
tmpWork = JKR_NEW_ARRAY(char, size);
|
||||
JUT_ASSERT(669, tmpWork != NULL);
|
||||
} else if (i_heapType == 3) {
|
||||
tmpTransBas = JKR_NEW mDoExt_transAnmBas(NULL);
|
||||
|
||||
Reference in New Issue
Block a user