src/video/ataricommon/SDL_biosevents.c
changeset 1336 3692456e7b0f
parent 1312 c9b51268668f
child 1350 adc8ff3c9597
--- a/src/video/ataricommon/SDL_biosevents.c	Mon Feb 06 17:28:04 2006 +0000
+++ b/src/video/ataricommon/SDL_biosevents.c	Tue Feb 07 06:59:48 2006 +0000
@@ -70,8 +70,8 @@
 	int i, vectors_mask;
 	unsigned long dummy;
 
-	memset(bios_currentkeyboard, 0, sizeof(bios_currentkeyboard));
-	memset(bios_previouskeyboard, 0, sizeof(bios_previouskeyboard));
+	SDL_memset(bios_currentkeyboard, 0, sizeof(bios_currentkeyboard));
+	SDL_memset(bios_previouskeyboard, 0, sizeof(bios_previouskeyboard));
 
 	/* Initialize keymap */
 	for ( i=0; i<sizeof(keymap); i++ )
@@ -117,7 +117,7 @@
 	SDL_keysym keysym;
 
 	/* Update pressed keys */
-	memset(bios_currentkeyboard, 0, ATARIBIOS_MAXKEYS);
+	SDL_memset(bios_currentkeyboard, 0, ATARIBIOS_MAXKEYS);
 
 	while (Bconstat(_CON)) {
 		unsigned long key_pressed;
@@ -151,7 +151,7 @@
 	SDL_AtariXbios_PostMouseEvents(this, SDL_TRUE);
 
 	/* Will be previous table */
-	memcpy(bios_previouskeyboard, bios_currentkeyboard, ATARIBIOS_MAXKEYS);
+	SDL_memcpy(bios_previouskeyboard, bios_currentkeyboard, ATARIBIOS_MAXKEYS);
 }
 
 static void UpdateSpecialKeys(int special_keys_state)