blob: aa10dee6bbf63712820ac19e2322c6297d2da913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// Generated by dtk
// Translation Unit: JKRFile.cpp
//
#include "JSystem/JSystem.h" // IWYU pragma: keep
#include "JSystem/JKernel/JKRFile.h"
#include "JSystem/JUtility/JUTAssert.h"
#include "dolphin/vi/vi.h"
/* 802BC610-802BC6B4 .text read__7JKRFileFPvll */
s32 JKRFile::read(void* data, s32 length, s32 offset) {
JUT_ASSERT(34, ( length & 0x1f ) == 0);
while (true) {
s32 result = readData(data, length, offset);
if (length != result)
VIWaitForRetrace();
else
return result;
}
}
|