JSUInputStream

Not marked as matching; JSURandomInputStream::__vtable isn't being generated in the .obj for some reason, not sure why.
This commit is contained in:
Jasper St. Pierre 2023-09-10 16:48:55 -07:00
parent dd9366f035
commit bf050c99a3
3 changed files with 7 additions and 4 deletions

View File

@ -67,7 +67,7 @@ public:
}
// TODO: return value probably wrong
/* 802DC298 */ s32 read(void*, s32);
s32 read(void*, s32);
}; // Size = 0x8
// move?

View File

@ -16,9 +16,9 @@ public:
/* vt[8] */ virtual s32 seekPos(s32, JSUStreamSeekFrom) = 0;
// TODO: fix return types
/* 802DC370 */ s32 align(s32);
/* 802DC458 */ s32 peek(void*, s32);
/* 802DC4DC */ s32 seek(s32, JSUStreamSeekFrom);
s32 align(s32);
s32 peek(void*, s32);
s32 seek(s32, JSUStreamSeekFrom);
}; // Size = 0x8
#endif

View File

@ -5,9 +5,12 @@
#include "JSystem/JSupport/JSUInputStream.h"
#include "JSystem/JSupport/JSURandomInputStream.h"
#include "dolphin/os/OS.h"
/* 802BF3F4-802BF47C .text __dt__14JSUInputStreamFv */
JSUInputStream::~JSUInputStream() {
if (!isGood())
OSReport("JSUInputStream: occur error.\n");
}
/* 802BF47C-802BF4D4 .text read__14JSUInputStreamFPvl */