Checks the consistency of an N64 audio heap
#include <libaudio.h> /* libaudio.h */ s32 alHeapCheck(ALHeap *hp);
In the debugging version of the libultra library (libultra_d), this function examines entries in the audio heap, represented by hp, to try to determine if the heap has been corrupted. If a heap corruption is detected, this function prints the file and line where the heap may have been corrupted and returns 1. Otherwise, it returns 0. It can not catch all corrupted heaps.
In the non-debug version of the library (libultra), alHeapCheck does nothing.
1999/04/30 Changed Format