mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
(event_command) If cmd is EVENT_CMD_NONE or some other value, return false
This commit is contained in:
parent
510d8a0a2f
commit
f3875924e5
@ -1615,8 +1615,12 @@ bool event_command(enum event_command cmd)
|
||||
event_set_volume(-0.5f);
|
||||
break;
|
||||
case EVENT_CMD_NONE:
|
||||
break;
|
||||
default:
|
||||
goto error;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
error:
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user