I tried with pole
Build libsm64 / Build libsm64 for linux (push) Successful in 31s
Build libsm64 / Build libsm64 for windows (push) Successful in 23s
Build libsm64 / Snapshot Release (push) Has been cancelled
Build libsm64 / Build libsm64 for windows (pull_request) Has been cancelled
Build libsm64 / Snapshot Release (pull_request) Has been cancelled
Build libsm64 / Build libsm64 for linux (pull_request) Has been cancelled
Build libsm64 / Build libsm64 for linux (push) Successful in 31s
Build libsm64 / Build libsm64 for windows (push) Successful in 23s
Build libsm64 / Snapshot Release (push) Has been cancelled
Build libsm64 / Build libsm64 for windows (pull_request) Has been cancelled
Build libsm64 / Snapshot Release (pull_request) Has been cancelled
Build libsm64 / Build libsm64 for linux (pull_request) Has been cancelled
This commit is contained in:
@@ -872,14 +872,12 @@ static void process_sound_request(u32 bits, f32 *pos)
|
||||
|
||||
if (soundId >= sNumSoundsPerBank[bank] || sSoundBankDisabled[bank])
|
||||
{
|
||||
//DEBUG_PRINT("process_sound_request: invalid soundId %d\n", soundId);
|
||||
return;
|
||||
}
|
||||
|
||||
u8 soundIndex = sSoundBanks[bank][0].next;
|
||||
while (soundIndex != 0xff && soundIndex != 0)
|
||||
{
|
||||
//DEBUG_PRINT("process_sound_request: soundIndex %d\n", soundIndex);
|
||||
// If an existing sound from the same source exists in the bank, then we should either
|
||||
// interrupt that sound and replace it with the new sound, or we should drop the new sound.
|
||||
if (sSoundBanks[bank][soundIndex].x == pos)
|
||||
@@ -930,7 +928,6 @@ static void process_sound_request(u32 bits, f32 *pos)
|
||||
// If free list has more than one element remaining
|
||||
if (sSoundBanks[bank][sSoundBankFreeListFront[bank]].next != 0xff && soundIndex != 0)
|
||||
{
|
||||
DEBUG_PRINT("process_sound_request2: soundIndex %d\n", soundIndex);
|
||||
// Allocate from free list
|
||||
soundIndex = sSoundBankFreeListFront[bank];
|
||||
|
||||
@@ -966,7 +963,6 @@ static void process_all_sound_requests(void)
|
||||
struct Sound *sound = &sSoundRequests[sNumProcessedSoundRequests];
|
||||
process_sound_request(sound->soundBits, sound->position);
|
||||
sNumProcessedSoundRequests++;
|
||||
//DEBUG_PRINT("processed sounds: %d\n", sNumProcessedSoundRequests);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user