Aurora DVD support (#43)

* Aurora DVD support

* Remove commented code

* Restore STUB_LOG
This commit is contained in:
Luke Street
2026-03-09 01:33:04 -06:00
committed by GitHub
parent 79938769fc
commit 3ce7aa3c9f
12 changed files with 47 additions and 423 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ void J2DScreen::clean() {
mFontRes = NULL;
if (mNameTable != NULL) {
JKR_DELETE_ARRAY(mNameTable->getResNameTable());
JKR_DELETE_ARRAY(const_cast<ResNTAB*>(mNameTable->getResNameTable()));
JKR_DELETE(mNameTable);
mNameTable = NULL;
}
+2 -1
View File
@@ -3,7 +3,8 @@
#include "JSystem/JGadget/binary.h"
#include "JSystem/JGadget/define.h"
#include "global.h"
#include <stdint.h>
#include <cstdint>
#include <cstdlib>
#include "global.h"
+1 -9
View File
@@ -593,14 +593,6 @@ void* operator new[](size_t size) {
return JKRHeap::alloc(size, 4, NULL);
}
#else
void* operator new[](size_t size) {
return fallback_alloc(size, 0, false);
}
void* operator new[](std::size_t size, const std::nothrow_t&) noexcept {
return fallback_alloc(size, 0, false);
}
void* operator new[](size_t size JKR_HEAP_TOKEN_PARAM) {
void* mem = JKRHeap::alloc(size, alignof(max_align_t), NULL);
if (mem == NULL) {
@@ -654,7 +646,7 @@ void operator delete[](void* ptr) {
JKRHeap::free(ptr, NULL);
}
#else
void operator delete[](void* ptr) {
void operator delete[](void* ptr JKR_HEAP_TOKEN_PARAM) {
if (ptr == NULL)
return;
JKRHeap* heap = JKRHeap::findFromRoot(ptr);