diff options
| author | Jonathan Wase <jonathan@familjenwase.se> | 2021-01-04 03:26:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-03 21:26:25 -0500 |
| commit | 5217a4189e0697995e9de0130fa6bfda0146f2f5 (patch) | |
| tree | 41b073c30c4eb3525080062bc821e757e620ab8e /libs/JSystem/JKernel/JKRFile.cpp | |
| parent | 409257b111085cf9503e6bcfd0358455271bc901 (diff) | |
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 <>
Diffstat (limited to 'libs/JSystem/JKernel/JKRFile.cpp')
| -rw-r--r-- | libs/JSystem/JKernel/JKRFile.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/JSystem/JKernel/JKRFile.cpp b/libs/JSystem/JKernel/JKRFile.cpp index 74a27ae567..4924bb8d64 100644 --- a/libs/JSystem/JKernel/JKRFile.cpp +++ b/libs/JSystem/JKernel/JKRFile.cpp @@ -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 |
