JKernel cleanup and DVD types (#59)

* JKRDecomp OK

* JKRFile and JKRDvdFile cleanup

* more DVD stuff and cleanup JKRDvdFile more

* formatting

* JKRHeap cleanup

* formatting

* JKRDisposer cleanup

* JKRAramBlock and JKRAramHeap cleanup

* fix merge error

* fixed comments

* forgot to save file...

* fix DVDCBcallback

Co-authored-by: Julgodis <>
This commit is contained in:
Jonathan Wase
2021-01-03 21:26:25 -05:00
committed by GitHub
co-authored by Julgodis <>
parent 409257b111
commit 5217a4189e
13 changed files with 190 additions and 257 deletions
+4 -6
View File
@@ -2,17 +2,15 @@
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
// #include "JSystem/JKernel/asm/func_802D147C.s"
JKRDisposer::JKRDisposer() : mLink(this) {
this->mHeap = JKRHeap::findFromRoot(this);
if (this->mHeap) {
this->mHeap->appendDisposer(this);
mHeap = JKRHeap::findFromRoot(this);
if (mHeap) {
mHeap->appendDisposer(this);
}
}
// #include "JSystem/JKernel/JKRDisposer/asm/func_802D14E4.s"
JKRDisposer::~JKRDisposer() {
JKRHeap* heap = this->mHeap;
JKRHeap* heap = mHeap;
if (heap) {
heap->removeDisposer(this);
}