mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-03 01:58:44 -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
@@ -212,7 +212,7 @@ bool dMpath_HIO_file_base_c::readBinaryFile(const char* param_1) {
|
||||
}
|
||||
if (file.open(JORFile::EFlags_READ, r26, NULL, NULL, NULL)) {
|
||||
s32 r28 = file.getFileSize();
|
||||
char* buf = JKR_NEW char[r28];
|
||||
char* buf = JKR_NEW_ARRAY(char, r28);
|
||||
JUT_ASSERT(855, buf != NULL);
|
||||
file.readData(buf, r28);
|
||||
copyReadBufToData(buf, r28);
|
||||
|
||||
Reference in New Issue
Block a user