mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-03 05:15:54 +00:00
Use MUSY_DEBUG for debug prints
Former-commit-id: 07e9934d0aced2173c37244382b1f79df71ba71d
This commit is contained in:
parent
d74a026c82
commit
e7cc4cd57f
@ -1,8 +1,6 @@
|
||||
|
||||
#include "musyx/musyx_priv.h"
|
||||
|
||||
extern void OSReport(const char*, ...);
|
||||
|
||||
extern void DCStoreRange(void* addr, u32 nBytes);
|
||||
|
||||
static volatile const u16 itdOffTab[128] = {
|
||||
|
@ -138,9 +138,7 @@ void aramInit(unsigned long length) {
|
||||
aramWrite = aramBase + sizeof(s16) * 640;
|
||||
aramUploadCallback = NULL;
|
||||
InitStreamBuffers();
|
||||
#if _DEBUG
|
||||
OSReport("MusyX ARAM handler initialized\n");
|
||||
#endif
|
||||
MUSY_DEBUG("MusyX ARAM handler initialized\n");
|
||||
}
|
||||
|
||||
void aramExit() {}
|
||||
@ -259,9 +257,7 @@ unsigned char aramAllocateStreamBuffer(unsigned long len) {
|
||||
}
|
||||
|
||||
if (oSb == NULL) {
|
||||
#if _DEBUG
|
||||
OSReport("No stream buffer slots available or ARAM.\n\n");
|
||||
#endif
|
||||
MUSY_DEBUG("No stream buffer slots available or ARAM.\n\n");
|
||||
return 0xFF;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user