diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-09-24 05:27:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-23 20:27:24 -0600 |
| commit | 169c7ae4a2e892a78babe26b450a2846ea0d8e38 (patch) | |
| tree | 085f3eff6babca2b93d25c9b3ac3d2f3cd4885e8 /src/JSystem/JHostIO/JORFile.cpp | |
| parent | 68b4af5eab55fa9aeff69d8425a7d26d14689264 (diff) | |
JHOSTIO almost comletely linked (#2689)
Diffstat (limited to 'src/JSystem/JHostIO/JORFile.cpp')
| -rw-r--r-- | src/JSystem/JHostIO/JORFile.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/JSystem/JHostIO/JORFile.cpp b/src/JSystem/JHostIO/JORFile.cpp index f29c9f9952..b412958d88 100644 --- a/src/JSystem/JHostIO/JORFile.cpp +++ b/src/JSystem/JHostIO/JORFile.cpp @@ -9,7 +9,8 @@ JORFile::JORFile() mFileLength(0), mStatus(EStatus_WAIT), mNFileName(0), - field_0x18(0) {} + field_0x18(0), + mDataStream() {} int JORFile::countMaskSize(const char* mask) { u32 var_r28 = 0; @@ -77,11 +78,11 @@ int JORFile::open(const char* path, u32 flags, const char* extMask, const char* return 1; } -// NONMATCHING, equivalent? void JORFile::close() { + JORMContext* mctx; if (mHandle != 0) { mStatus = EStatus_WAIT; - JORMContext* mctx = JORServer::getInstance()->attachMCTX(MCTX_MSG_FIO); + mctx = JORServer::getInstance()->attachMCTX(MCTX_MSG_FIO); mctx->closeFile(this); JORServer::getInstance()->releaseMCTX(mctx); |
