Add MIDI_GetDevice and use it so that the default driver value doesn't show as "Custom" in the menu

git-svn-id: https://svn.eduke32.com/eduke32@8261 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-10-24 05:47:29 +00:00 committed by Christoph Oelckers
parent 7650cbe592
commit c6c7c91d7c
6 changed files with 32 additions and 2 deletions

View file

@ -141,6 +141,11 @@ int FX_Shutdown(void)
return status;
}
int FX_GetDevice()
{
return ASS_PCMSoundDriver;
}
static wavefmt_t FX_DetectFormat(char const * const ptr, uint32_t length)
{
if (length < 12)