mirror of
https://github.com/zeldaret/tp
synced 2026-06-05 19:28:18 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user