GTK: Fix broken keys.

This commit is contained in:
Brandon Wright 2019-03-22 11:59:50 -05:00
parent bdf0e426e0
commit 83505d88c2
1 changed files with 1 additions and 4 deletions

View File

@ -706,15 +706,12 @@ void Snes9xConfig::rebind_keys()
for (dupe = button_i + 1; dupe < NUM_JOYPAD_LINKS; dupe++)
{
if (bin[button_i].matches(bin[dupe]) && bin[button_i].hex() != 0)
{
printf("%d: %d matches %d\n", joypad_i, button_i, dupe);
break;
}
}
if (dupe < NUM_JOYPAD_LINKS || bin[button_i].hex() == 0)
continue;
string += "Joypad" + std::to_string((joypad_i % 5) + 1) + " ";
string = "Joypad" + std::to_string((joypad_i % 5) + 1) + " ";
string += b_links[button_i].snes9x_name;
bool ismulti = false;