Stephane-D / SGDK

SGDK - A free and open development kit for the Sega Mega Drive
https://www.patreon.com/SGDK
MIT License
1.7k stars 179 forks source link

XGM2 6650 support #328

Closed skarab closed 2 months ago

skarab commented 2 months ago

Hi, it seems I need to double the size when playing to get the correct thing, i use :

WAV horn0 "horn0.wav" XGM2 6650

and :

XGM2_playPCMEx(sound, len * 2, SOUND_PCM_CH2, 15, TRUE, FALSE);

cheers

Stephane-D commented 2 months ago

Oh thanks for reporting ! Fixed :)