NJoy test printf spam when not pressing any button fix (by tinctorius)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1844 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-01-10 16:23:51 +00:00
parent 2e9837e564
commit 2d8e15600b
1 changed files with 2 additions and 0 deletions

View File

@ -666,6 +666,8 @@ void GetJoyState(int controller)
case 'H':
printf("We aren't Expecting Hat here!\n");
break;
case '\0': // When no button is being pressed
break;
default:
printf("Unknown button type %c, number %d, Full %s\n", Type, a, joysticks[controller].buttons[a].c_str());
break;