[quake3-commits] r2034 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jun 16 04:09:06 EDT 2011


Author: ludwig
Date: 2011-06-16 04:09:06 -0400 (Thu, 16 Jun 2011)
New Revision: 2034

Modified:
   trunk/code/qcommon/vm_powerpc.c
Log:
remove static VM_BlockCopy from vm_powerpc

Modified: trunk/code/qcommon/vm_powerpc.c
===================================================================
--- trunk/code/qcommon/vm_powerpc.c	2011-06-16 02:01:13 UTC (rev 2033)
+++ trunk/code/qcommon/vm_powerpc.c	2011-06-16 08:09:06 UTC (rev 2034)
@@ -389,23 +389,6 @@
 	return ret;
 }
 
-static void
-VM_BlockCopy( unsigned int dest, unsigned int src, unsigned int count )
-{
-	unsigned dataMask = currentVM->dataMask;
-
-	if ( (dest & dataMask) != dest
-		|| (src & dataMask) != src
-		|| ((dest+count) & dataMask) != dest + count
-		|| ((src+count) & dataMask) != src + count)
-	{
-		DIE( "OP_BLOCK_COPY out of range!");
-	}
-
-	memcpy( currentVM->dataBase+dest, currentVM->dataBase+src, count );
-}
-
-
 /*
  * code-block descriptors
  */



More information about the quake3-commits mailing list