mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
fix clang error
This commit is contained in:
parent
32e79fa79a
commit
443b7ae602
@ -1279,7 +1279,7 @@ s32 AudioLoad_RelocateFontAndPreloadSamples(s32 fontId, uintptr_t fontDataAddr,
|
|||||||
|
|
||||||
gNumUsedSamples = 0;
|
gNumUsedSamples = 0;
|
||||||
AudioLoad_RelocateFont(fontId, fontDataAddr, relocData);
|
AudioLoad_RelocateFont(fontId, fontDataAddr, relocData);
|
||||||
return;
|
return 0;
|
||||||
|
|
||||||
size = 0;
|
size = 0;
|
||||||
|
|
||||||
|
@ -65,11 +65,11 @@ void AudioThread_CreateNextAudioBuffer(s16* samples, u32 num_samples) {
|
|||||||
osSendMesg8(gAudioResetQueue, gAudioSpecId, OS_MESG_NOBLOCK);
|
osSendMesg8(gAudioResetQueue, gAudioSpecId, OS_MESG_NOBLOCK);
|
||||||
}
|
}
|
||||||
gWaitingAudioTask = NULL;
|
gWaitingAudioTask = NULL;
|
||||||
return NULL;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gAudioResetTimer > 16) {
|
if (gAudioResetTimer > 16) {
|
||||||
return NULL;
|
return;
|
||||||
}
|
}
|
||||||
if (gAudioResetTimer != 0) {
|
if (gAudioResetTimer != 0) {
|
||||||
gAudioResetTimer++;
|
gAudioResetTimer++;
|
||||||
|
@ -432,11 +432,11 @@ extern "C" uint8_t GameEngine_OTRSigCheck(const char* data) {
|
|||||||
return strncmp(data, sOtrSignature, strlen(sOtrSignature)) == 0;
|
return strncmp(data, sOtrSignature, strlen(sOtrSignature)) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" float __cosf(float angle) {
|
extern "C" float __cosf(float angle) throw() {
|
||||||
return cosf(angle);
|
return cosf(angle);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" float __sinf(float angle) {
|
extern "C" float __sinf(float angle) throw() {
|
||||||
return sinf(angle);
|
return sinf(angle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ OSMesgQueue gSerialEventQueue;
|
|||||||
OSMesg sSerialEventBuff[1];
|
OSMesg sSerialEventBuff[1];
|
||||||
OSMesgQueue gMainThreadMesgQueue;
|
OSMesgQueue gMainThreadMesgQueue;
|
||||||
OSMesg sMainThreadMsgBuff[32];
|
OSMesg sMainThreadMsgBuff[32];
|
||||||
OSMesgQueue gTaskMesgQueue;
|
OSMesgQueue gTaskMesgQueue = {0};
|
||||||
OSMesg sTaskMsgBuff[16];
|
OSMesg sTaskMsgBuff[16] = {0};
|
||||||
OSMesgQueue gAudioVImesgQueue;
|
OSMesgQueue gAudioVImesgQueue;
|
||||||
OSMesg sAudioVImsgBuff[1];
|
OSMesg sAudioVImsgBuff[1];
|
||||||
OSMesgQueue gAudioTaskMesgQueue;
|
OSMesgQueue gAudioTaskMesgQueue;
|
||||||
|
Loading…
Reference in New Issue
Block a user