diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-02-10 11:20:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-10 21:20:42 +0200 |
| commit | 2453c0e3333157090e839eeab768d19b6a2b0ba1 (patch) | |
| tree | f51d7bcca7a8227966fc05ee7ef25cd508075a4c /src/JSystem/JUtility/JUTDirectFile.cpp | |
| parent | 6c24ff192933300faf555f1411e03432c751afe5 (diff) | |
copy dolsdk2004 to tp / b_bh + e_mb done (#2299)
* move dolsdk2004 over
* cleanup some temp work
* finish and cleanup gf
* b_bh done
* d_a_e_mb done
Diffstat (limited to 'src/JSystem/JUtility/JUTDirectFile.cpp')
| -rw-r--r-- | src/JSystem/JUtility/JUTDirectFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/JSystem/JUtility/JUTDirectFile.cpp b/src/JSystem/JUtility/JUTDirectFile.cpp index d0d25b1eee..8b9c31e747 100644 --- a/src/JSystem/JUtility/JUTDirectFile.cpp +++ b/src/JSystem/JUtility/JUTDirectFile.cpp @@ -4,7 +4,7 @@ // #include "JSystem/JUtility/JUTDirectFile.h" -#include "dolphin/os/OSInterrupt.h" +#include <dolphin/os.h> #include "global.h" // @@ -34,7 +34,7 @@ int JUTDirectFile::fetch32byte() { return -1; } else { interrupts = OSEnableInterrupts(); - while (DVDGetCommandBlockStatus(&mFileInfo.block)) { + while (DVDGetCommandBlockStatus(&mFileInfo.cb)) { ; } OSRestoreInterrupts(interrupts); @@ -181,4 +181,4 @@ int JUTDirectFile::fgets(void* buf, int len) { } return readCount; -}
\ No newline at end of file +} |
