mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
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:
co-authored by
Julgodis <>
parent
409257b111
commit
5217a4189e
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user