use core provided button names if not overridden
plus misc cleanup (forgot to commit last night)
This commit is contained in:
parent
896c13e9e0
commit
5aca139047
2 changed files with 3 additions and 8 deletions
|
|
@ -1204,6 +1204,7 @@ void Input_init(const struct retro_input_descriptor *vars) {
|
|||
for (int i=0;default_button_mapping[i].name; i++) {
|
||||
ButtonMapping* mapping = &default_button_mapping[i];
|
||||
LOG_info("DEFAULT %s (%s): <%s>\n", core_button_names[mapping->retro], mapping->name, (mapping->local==BTN_ID_NONE ? "NONE" : device_button_names[mapping->local]));
|
||||
mapping->name = (char*)core_button_names[mapping->retro];
|
||||
}
|
||||
|
||||
for (int i=0; config.controls[i].name; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue