src/video/ataricommon/SDL_gemdosevents.c
changeset 1336 3692456e7b0f
parent 1312 c9b51268668f
child 1350 adc8ff3c9597
     1.1 --- a/src/video/ataricommon/SDL_gemdosevents.c	Mon Feb 06 17:28:04 2006 +0000
     1.2 +++ b/src/video/ataricommon/SDL_gemdosevents.c	Tue Feb 07 06:59:48 2006 +0000
     1.3 @@ -75,8 +75,8 @@
     1.4  	int i, vectors_mask;
     1.5  	unsigned long dummy;
     1.6  
     1.7 -	memset(gemdos_currentkeyboard, 0, sizeof(gemdos_currentkeyboard));
     1.8 -	memset(gemdos_previouskeyboard, 0, sizeof(gemdos_previouskeyboard));
     1.9 +	SDL_memset(gemdos_currentkeyboard, 0, sizeof(gemdos_currentkeyboard));
    1.10 +	SDL_memset(gemdos_previouskeyboard, 0, sizeof(gemdos_previouskeyboard));
    1.11  
    1.12  	/* Initialize keymap */
    1.13  	for ( i=0; i<sizeof(keymap); i++ )
    1.14 @@ -122,7 +122,7 @@
    1.15  	SDL_keysym keysym;
    1.16  
    1.17  	/* Update pressed keys */
    1.18 -	memset(gemdos_currentkeyboard, 0, ATARIBIOS_MAXKEYS);
    1.19 +	SDL_memset(gemdos_currentkeyboard, 0, ATARIBIOS_MAXKEYS);
    1.20  
    1.21  	while (Cconis()!=DEV_BUSY) {
    1.22  		unsigned long key_pressed;
    1.23 @@ -156,7 +156,7 @@
    1.24  	SDL_AtariXbios_PostMouseEvents(this, SDL_TRUE);
    1.25  
    1.26  	/* Will be previous table */
    1.27 -	memcpy(gemdos_previouskeyboard, gemdos_currentkeyboard, ATARIBIOS_MAXKEYS);
    1.28 +	SDL_memcpy(gemdos_previouskeyboard, gemdos_currentkeyboard, ATARIBIOS_MAXKEYS);
    1.29  }
    1.30  
    1.31  static void UpdateSpecialKeys(int special_keys_state)