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-04 03:26:25 +01:00
committed by GitHub
parent 409257b111
commit 5217a4189e
13 changed files with 190 additions and 257 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
#include "JSystem/JKernel/JKRFile/JKRFile.h"
#include "global.h"
// #include "JSystem/JKernel/JKRFile/asm/func_802D9518.s"
s32 JKRFile::read(void* data, s32 size, long param_3) {
s32 JKRFile::read(void* data, s32 size, long offset) {
while (true) {
s32 result = this->readData(data, size, param_3);
s32 result = readData(data, size, offset);
if (size != result)
VIWaitForRetrace();
else