diff options
| author | kipcode66 <kipcode66@gmail.com> | 2025-12-21 20:48:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-21 17:48:09 -0800 |
| commit | 4045f16667fe6903243801e1155d086ae8df27b1 (patch) | |
| tree | baa2a62646926e1f2d4c994c95931bcc4d66e5f0 /src/JSystem/JAudio2/JASAudioThread.cpp | |
| parent | b4f931f75f5d87fc7844e00eab7d7b99eceb3622 (diff) | |
next round of standard compiler fixes (#2969)
* next round of standard compiler fixes
* Fix weak function order issue
* fix missmatch with ShieldD version
Diffstat (limited to 'src/JSystem/JAudio2/JASAudioThread.cpp')
| -rw-r--r-- | src/JSystem/JAudio2/JASAudioThread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JSystem/JAudio2/JASAudioThread.cpp b/src/JSystem/JAudio2/JASAudioThread.cpp index e689a9607f..fef909dd16 100644 --- a/src/JSystem/JAudio2/JASAudioThread.cpp +++ b/src/JSystem/JAudio2/JASAudioThread.cpp @@ -9,6 +9,7 @@ #include "JSystem/JAudio2/JASProbe.h" #include "JSystem/JKernel/JKRSolidHeap.h" #include "dolphin/dsp.h" +#include "stdint.h" JASAudioThread::JASAudioThread(int stackSize, int msgCount, u32 threadPriority) : @@ -60,7 +61,7 @@ void* JASAudioThread::run() { while (true) { OSMessage msg = waitMessageBlock(); - switch ((int)msg) { + switch ((intptr_t)msg) { case AUDIOMSG_DMA: if (sbPauseFlag) { JASDriver::stopDMA(); |
