Fixed detection of whether or not standalone MPU-401 should be allowed.

This commit is contained in:
OBattler
2017-06-04 02:41:16 +02:00
parent bbe2e485a8
commit 3c1b0da73f
2 changed files with 3 additions and 3 deletions

View File

@@ -1114,7 +1114,7 @@ int mpu401_present(void)
{
char *n;
n = sound_card_getname(temp_sound_card);
n = sound_card_get_internal_name(temp_sound_card);
if (n != NULL)
{
if (!strcmp(n, "sb16") || !strcmp(n, "sbawe32"))
@@ -1130,7 +1130,7 @@ int mpu401_standalone_allow(void)
{
char *n;
n = sound_card_getname(temp_sound_card);
n = sound_card_get_internal_name(temp_sound_card);
if (n != NULL)
{
if (!strcmp(n, "sb16") || !strcmp(n, "sbawe32"))