mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-04-25 16:01:27 -05:00
16 lines
244 B
C
16 lines
244 B
C
#include "audio_utils.h"
|
|
|
|
#include <maxmod.h>
|
|
|
|
void play_sfx(mm_word id, mm_word rate, mm_byte volume)
|
|
{
|
|
mm_sound_effect sfx = {
|
|
{id},
|
|
rate,
|
|
0,
|
|
volume,
|
|
SFX_DEFAULT_PAN,
|
|
};
|
|
mmEffectEx(&sfx);
|
|
}
|