mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-18 15:55:29 -04:00
fix(audio): replace stray custom-sequence printf with a debug log (#6752)
The custom-sequence registration loop printed each assigned seqNum to stdout via a bare printf, spamming the console with context-free numbers on every launch. Convert it to LUSLOG_DEBUG and include the sequence name so it is hidden by default yet useful for diagnosing music-pack loading.
This commit is contained in:
@@ -1443,7 +1443,7 @@ void AudioLoad_Init(void* heap, size_t heapSize) {
|
||||
AudioCollection_AddToCollection(customSeqList[j], seqNum);
|
||||
|
||||
sDat->seqNumber = seqNum;
|
||||
printf("%d\n", seqNum);
|
||||
LUSLOG_DEBUG("Registered custom sequence \"%s\" as seqNum %d", customSeqList[j], seqNum);
|
||||
sequenceMap[sDat->seqNumber] = strdup(customSeqList[j]);
|
||||
seqNum++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user