Skip to content

Commit

Permalink
SFX: Release DirectSound buffer when required
Browse files Browse the repository at this point in the history
Related #495
  • Loading branch information
julianxhokaxhiu committed Sep 20, 2022
1 parent e2dd93c commit c032399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfx.cpp
Expand Up @@ -35,7 +35,7 @@ ff7_channel_6_state sfx_channel_6_state;

void ff7_sfx_release(IDirectSoundBuffer *buffer)
{
// Just do nothing
if (buffer) buffer->Release();
}

bool ff7_should_sfx_loop(int id)
Expand Down

0 comments on commit c032399

Please sign in to comment.