assembler routine now activated with #ifndef C_CORE instead of #ifdef ASM

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@139 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2007-12-02 00:18:52 +00:00
parent 417a1bad2d
commit ad29571768
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@
void copyImage( void *source, void *destination, unsigned int width, unsigned int height, unsigned int destinationPitch, unsigned int colorDepth )
{
#ifdef ASM
#ifndef C_CORE
// Copy the image at [source] to the locked Direct3D texture
__asm
@ -75,7 +75,7 @@ gbaLoop24bit:
gbaLoopEnd:
}
#else // #ifdef ASM
#else // #ifndef C_CORE
// optimized C version
register unsigned int lineSize;
@ -120,4 +120,3 @@ gbaLoopEnd:
#endif
}