Skip to content
Permalink
Browse files

/me dumb, sizeof(keymap) != number of elements

  • Loading branch information
pmandin committed Sep 7, 2006
1 parent 0f50748 commit e451f68a9b706df9bb9ab4ba7646c96ef4a8bfdb

File 2 of 4 in e451f68

@@ -79,7 +79,7 @@ void AtariGemdos_InitOSKeymap(_THIS)
SDL_memset(gemdos_previouskeyboard, 0, sizeof(gemdos_previouskeyboard));

/* Initialize keymap */
for ( i=0; i<sizeof(keymap); i++ )
for ( i=0; i<ATARIBIOS_MAXKEYS; i++ )
keymap[i] = SDLK_UNKNOWN;

/* Functions keys */

0 comments on commit e451f68

Please sign in to comment.