mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-01 10:20:20 -04:00
Revert "Isolate JKRHeap operator overloads" (#39)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include "JSystem/J3DAssert.h"
|
||||
#include "JSystem/J3DGraphBase/J3DTexture.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/J3DAssert.h"
|
||||
|
||||
void J3DTexture::loadGX(u16 idx, GXTexMapID texMapID) const {
|
||||
J3D_ASSERT_RANGE(29, idx < mNum);
|
||||
@@ -37,7 +36,7 @@ void J3DTexture::entryNum(u16 num) {
|
||||
J3D_ASSERT_NONZEROARG(79, num != 0);
|
||||
|
||||
mNum = num;
|
||||
mpRes = JKR_NEW ResTIMG[num];
|
||||
mpRes = new ResTIMG[num];
|
||||
J3D_ASSERT_ALLOCMEM(83, mpRes != NULL);
|
||||
|
||||
for (int i = 0; i < mNum; i++) {
|
||||
|
||||
Reference in New Issue
Block a user