summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/info.c')
-rw-r--r--src/emu/info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/info.c b/src/emu/info.c
index a9cf0c8d68f..0077843f26d 100644
--- a/src/emu/info.c
+++ b/src/emu/info.c
@@ -1053,9 +1053,8 @@ static void print_game_info(FILE *out, const game_driver *game, emu_options &opt
input_port_list_init(portlist, game->ipt, NULL, 0, FALSE, NULL);
for (device_config *cfg = config.m_devicelist.first(); cfg != NULL; cfg = cfg->next())
{
- if (cfg->input_ports()!=NULL) {
+ if (cfg->input_ports() != NULL)
input_port_list_init(portlist, cfg->input_ports(), NULL, 0, FALSE, cfg);
- }
}
/* print the header and the game name */