Skip to content

Commit

Permalink
Revert "Invoke MAPPER_INIT after CONTROLLERS_INIT"
Browse files Browse the repository at this point in the history
This reverts commit fdf79e2.
  • Loading branch information
inactive123 committed Nov 24, 2017
1 parent 7817ba2 commit cb16aac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions command.c
Original file line number Diff line number Diff line change
Expand Up @@ -2540,14 +2540,14 @@ TODO: Add a setting for these tweaks */
command_event(CMD_EVENT_REMOTE_DEINIT, NULL);
input_driver_init_remote();
break;

case CMD_EVENT_MAPPER_DEINIT:
input_driver_deinit_mapper();
break;
case CMD_EVENT_MAPPER_INIT:
command_event(CMD_EVENT_MAPPER_DEINIT, NULL);
if (!input_driver_init_mapper())
return false;
break;
input_driver_init_mapper();
break;
case CMD_EVENT_LOG_FILE_DEINIT:
retro_main_log_file_deinit();
break;
Expand Down
2 changes: 1 addition & 1 deletion retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1302,9 +1302,9 @@ bool retroarch_main_init(int argc, char *argv[])
drivers_init(DRIVERS_CMD_ALL);
command_event(CMD_EVENT_COMMAND_INIT, NULL);
command_event(CMD_EVENT_REMOTE_INIT, NULL);
command_event(CMD_EVENT_MAPPER_INIT, NULL);
command_event(CMD_EVENT_REWIND_INIT, NULL);
command_event(CMD_EVENT_CONTROLLERS_INIT, NULL);
command_event(CMD_EVENT_MAPPER_INIT, NULL);
command_event(CMD_EVENT_RECORD_INIT, NULL);
command_event(CMD_EVENT_CHEATS_INIT, NULL);

Expand Down

0 comments on commit cb16aac

Please sign in to comment.