Clang compile fixes

This commit is contained in:
PJB3005
2026-03-29 03:29:30 +02:00
parent 2686c8dc81
commit 9738917a91
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -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;