summaryrefslogtreecommitdiff
path: root/libs/JSystem/JKernel/JKRFile.cpp
diff options
context:
space:
mode:
authorJonathan Wase <jonathan@familjenwase.se>2021-01-04 03:26:25 +0100
committerGitHub <noreply@github.com>2021-01-03 21:26:25 -0500
commit5217a4189e0697995e9de0130fa6bfda0146f2f5 (patch)
tree41b073c30c4eb3525080062bc821e757e620ab8e /libs/JSystem/JKernel/JKRFile.cpp
parent409257b111085cf9503e6bcfd0358455271bc901 (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.cpp5
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