mirror of
https://github.com/encounter/mkdd.git
synced 2026-03-30 11:30:02 -07:00
13 lines
351 B
C++
13 lines
351 B
C++
#include <dolphin/vi.h>
|
|
#include "JSystem/JKernel/JKRFile.h"
|
|
#include "JSystem/JUtility/JUTDbg.h"
|
|
|
|
// not sure if this matches, doesn't exist in mkdd
|
|
void JKRFile::read(void* address, s32 length, s32 offset) {
|
|
#line 34
|
|
JUT_ASSERT(34, (length & 0x1f));
|
|
while (writeData(address, length, offset) != length) {
|
|
VIWaitForRetrace();
|
|
}
|
|
}
|