Import project

Original repository: https://github.com/encounter/ww
This commit is contained in:
Luke Street
2023-09-10 00:42:26 -04:00
parent 81ac53f131
commit adb95b135c
3731 changed files with 481532 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
//
// Generated by dtk
// Translation Unit: JKRFile.cpp
//
#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, long offset) {
JUT_ASSERT("JKRFile.cpp", 34, ( length & 0x1f ) == 0);
while (true) {
s32 result = readData(data, length, offset);
if (length != result)
VIWaitForRetrace();
else
return result;
}
}