mirror of https://github.com/PCSX2/pcsx2.git
utilities: Cleanup unused memcpy defines
All refer to memcpy, and only memcpy_fast is used, so there's no point keeping them. Also remove the _memset16_unaligned function prototype since there's no function definition for it.
This commit is contained in:
parent
239306e9a2
commit
8312e21f00
|
@ -28,13 +28,3 @@ extern u8 memcmp_mmx(const void* src1, const void* src2, int cmpsize);
|
|||
#else
|
||||
#define memcmp_mmx memcmp
|
||||
#endif
|
||||
|
||||
// Only used in the Windows version of memzero.h. But it's in Misc.cpp for some reason.
|
||||
void _memset16_unaligned( void* dest, u16 data, size_t size );
|
||||
|
||||
#define memcpy_fast memcpy
|
||||
#define memcpy_aligned(d,s,c) memcpy(d,s,c)
|
||||
#define memcpy_const memcpy
|
||||
#define memcpy_constA memcpy
|
||||
#define memcpy_qwc_ memcpy
|
||||
#define memcpy_qwc(d,s,c) memcpy(d,s,c*16)
|
||||
|
|
|
@ -160,8 +160,7 @@ namespace Threading
|
|||
// For use in spin/wait loops.
|
||||
extern void SpinWait();
|
||||
|
||||
// Use prior to committing data to another thread (internal memcpy_qwc does not use fencing,
|
||||
// so that many memcpys can be issued in a row more efficiently)
|
||||
// Use prior to committing data to another thread
|
||||
extern void StoreFence();
|
||||
|
||||
// Optional implementation to enable hires thread/process scheduler for the operating system.
|
||||
|
|
|
@ -48,7 +48,7 @@ void* __fastcall pcsx2_aligned_realloc(void* handle, size_t size, size_t align)
|
|||
|
||||
if( handle != NULL )
|
||||
{
|
||||
memcpy_fast( newbuf, handle, size );
|
||||
memcpy( newbuf, handle, size );
|
||||
pcsx2_aligned_free(handle);
|
||||
}
|
||||
return newbuf;
|
||||
|
|
Loading…
Reference in New Issue