PSP: Remove dead code.

Fixes unused variable warning.
This commit is contained in:
Pierre Wendling 2022-10-10 22:01:49 -04:00 committed by Sam Lantinga
parent 17322e2be6
commit 669532d529
1 changed files with 0 additions and 8 deletions

View File

@ -92,14 +92,6 @@ void PSP_PumpEvents(_THIS)
if(changed) {
for(i=0; i<sizeof(keymap_psp)/sizeof(keymap_psp[0]); i++) {
if(changed & keymap_psp[i].id) {
sym.scancode = keymap_psp[i].id;
sym.sym = keymap_psp[i].sym;
/* out of date
SDL_PrivateKeyboard((keys & keymap_psp[i].id) ?
SDL_PRESSED : SDL_RELEASED,
&sym);
*/
SDL_SendKeyboardKey((keys & keymap_psp[i].id) ?
SDL_PRESSED : SDL_RELEASED, SDL_GetScancodeFromKey(keymap_psp[i].sym));
}