diff options
| author | Luke Street <luke@street.dev> | 2026-03-01 15:35:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-01 14:35:36 -0800 |
| commit | 9649319ec4926457ef85e6094f8207474c977c2d (patch) | |
| tree | 1c5cd4c7cc4c1aee03f28921213da47f2775444d /src/JSystem/JAudio2/JASDvdThread.cpp | |
| parent | 6e149819e13b1f70ecbf8a4c66b030c17ffed2bb (diff) | |
Reorganize library code into `libs/` (#3119)
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
Diffstat (limited to 'src/JSystem/JAudio2/JASDvdThread.cpp')
| -rw-r--r-- | src/JSystem/JAudio2/JASDvdThread.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/JSystem/JAudio2/JASDvdThread.cpp b/src/JSystem/JAudio2/JASDvdThread.cpp deleted file mode 100644 index df118c07a0..0000000000 --- a/src/JSystem/JAudio2/JASDvdThread.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "JSystem/JSystem.h" // IWYU pragma: keep - -#include "JSystem/JAudio2/JASDvdThread.h" -#include "JSystem/JAudio2/JASTaskThread.h" -#include "JSystem/JKernel/JKRSolidHeap.h" - -JASTaskThread* JASDvd::sThread; - -JASTaskThread* JASDvd::getThreadPointer() { - return JASDvd::sThread; -} - -bool JASDvd::createThread(s32 priority, int msgCount, u32 stackSize) { - if (sThread != NULL) { - JUT_WARN_DEVICE(32, 2, "%s", "JASDvd::createThread が2回呼び出されました"); - return false; - } - - sThread = new (JASDram, 0) JASTaskThread(priority, msgCount, stackSize); - JUT_ASSERT(36, sThread); - - JKRHeap* pCurrentHeap = JKRGetSystemHeap(); - JUT_ASSERT(38, pCurrentHeap); - - sThread->setCurrentHeap(pCurrentHeap); - sThread->resume(); - return true; -} |
