diff options
Diffstat (limited to 'engines/tony/mpal/stubs.h')
-rw-r--r-- | engines/tony/mpal/stubs.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/engines/tony/mpal/stubs.h b/engines/tony/mpal/stubs.h index ae25f7127e..ea88c1c76c 100644 --- a/engines/tony/mpal/stubs.h +++ b/engines/tony/mpal/stubs.h @@ -54,23 +54,11 @@ typedef void (*LPTHREAD_ROUTINE)(void *lpThreadParameter); #define PASCAL /****************************************************************************\ -* Templates -\****************************************************************************/ - -/** - * Copies data from the range [first, last) to [dst, dst + (last - first)). - * It requires the range [dst, dst + (last - first)) to be valid. - * It also requires dst not to be in the range [first, last). - */ -template<class In, class Out> -Out CopyMemory(Out dst, In first, int size) { - return Common::copy(first, first + size, dst); -} - -/****************************************************************************\ * Methods \****************************************************************************/ +extern void CopyMemory(void *dst, const void *first, int size); + extern uint16 GetAsyncKeyState(Common::KeyCode kc); } // end of namespace MPAL |