fmopl: workaround for -Wempty-body

Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
malc 2010-09-23 22:16:15 +04:00
parent 9c9e7d51bf
commit c973a36d17

View File

@ -1342,8 +1342,9 @@ unsigned char OPLRead(FM_OPL *OPL,int a)
{
if(OPL->keyboardhandler_r)
return OPL->keyboardhandler_r(OPL->keyboard_param);
else
else {
LOG(LOG_WAR,("OPL:read unmapped KEYBOARD port\n"));
}
}
return 0;
#if 0
@ -1355,8 +1356,9 @@ unsigned char OPLRead(FM_OPL *OPL,int a)
{
if(OPL->porthandler_r)
return OPL->porthandler_r(OPL->port_param);
else
else {
LOG(LOG_WAR,("OPL:read unmapped I/O port\n"));
}
}
return 0;
case 0x1a: /* PCM-DATA */