mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-11 12:39:48 -04:00
Clang compile fixes
This commit is contained in:
@@ -83,9 +83,9 @@ typedef struct THPHeader {
|
||||
/* 0x2C */ BE(u32) finalFrameDataOffsets;
|
||||
} THPHeader;
|
||||
|
||||
u32 THPAudioDecode(s16* audioBuffer, u8* audioFrame, s32 flag);
|
||||
s32 __THPAudioGetNewSample(THPAudioDecodeInfo* info);
|
||||
void __THPAudioInitialize(THPAudioDecodeInfo* info, u8* ptr);
|
||||
static u32 THPAudioDecode(s16* audioBuffer, u8* audioFrame, s32 flag);
|
||||
static s32 __THPAudioGetNewSample(THPAudioDecodeInfo* info);
|
||||
static void __THPAudioInitialize(THPAudioDecodeInfo* info, u8* ptr);
|
||||
|
||||
#define THP_AUDIO_BUFFER_COUNT 3
|
||||
#define THP_READ_BUFFER_COUNT 10
|
||||
|
||||
@@ -2638,7 +2638,7 @@ static const std::vector<u8>& FixJpeg(const std::span<u8> data) {
|
||||
return FixedJpegData;
|
||||
}
|
||||
|
||||
extern daMP_THPPlayer daMP_ActivePlayer;
|
||||
static daMP_THPPlayer daMP_ActivePlayer;
|
||||
|
||||
static s32 THPVideoDecode(void* file, size_t fileSize, void* tileY, void* tileU, void* tileV, void*) {
|
||||
assert(JpegDecompressHandle);
|
||||
@@ -2715,7 +2715,9 @@ static BOOL THPInit() {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !TARGET_PC // Defined earlier in file.
|
||||
static daMP_THPPlayer daMP_ActivePlayer;
|
||||
#endif
|
||||
|
||||
#if TARGET_PC
|
||||
static BOOL ReadThreadCancelled;
|
||||
|
||||
Reference in New Issue
Block a user