mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-31 08:51:29 -04:00
Revert "Isolate JKRHeap operator overloads" (#39)
This commit is contained in:
@@ -90,10 +90,10 @@ u8* J2DPrint::setBuffer(size_t size) {
|
||||
|
||||
u8* u8Buff = (u8*)mStrBuff;
|
||||
if (sStrBufInitialized) {
|
||||
JKR_DELETE(mStrBuff);
|
||||
delete mStrBuff;
|
||||
}
|
||||
|
||||
mStrBuff = JKR_NEW_ARGS (JKRGetSystemHeap(), 0) char[size];
|
||||
mStrBuff = new (JKRGetSystemHeap(), 0) char[size];
|
||||
mStrBuffSize = size;
|
||||
sStrBufInitialized = true;
|
||||
return u8Buff;
|
||||
|
||||
Reference in New Issue
Block a user