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