Fixed the stray goto abort's in ide_set_features(), it should now compile.

This commit is contained in:
OBattler
2017-05-14 18:39:58 +02:00
parent 266a9690ae
commit 8d6ea357d4

View File

@@ -687,12 +687,18 @@ static int ide_set_features(IDE *ide)
switch(mode)
{
case 0x00: /* PIO default */
if (submode != 0) goto abort;
if (submode != 0)
{
return 0;
}
ide->mdma_mode = -1;
break;
case 0x01: /* PIO mode */
if (submode > 2) goto abort;
if (submode > 2)
{
return 0;
}
ide->mdma_mode = -1;
break;