mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-26 13:51:01 +00:00
remove static VM_BlockCopy from vm_powerpc
This commit is contained in:
parent
8b7870b81f
commit
d8b7532fc1
1 changed files with 0 additions and 17 deletions
|
@ -389,23 +389,6 @@ VM_AsmCall( int callSyscallInvNum, int callProgramStack )
|
||||||
return ret;
|
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
|
* code-block descriptors
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue