mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
5217a4189e
* 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 <>
13 lines
299 B
C++
13 lines
299 B
C++
#include "JSystem/JKernel/JKRFile/JKRFile.h"
|
|
#include "global.h"
|
|
|
|
s32 JKRFile::read(void* data, s32 size, long offset) {
|
|
while (true) {
|
|
s32 result = readData(data, size, offset);
|
|
if (size != result)
|
|
VIWaitForRetrace();
|
|
else
|
|
return result;
|
|
}
|
|
}
|