build: arm target support

This commit is contained in:
nillerusr
2021-04-25 23:36:09 +03:00
parent e794dbcbb1
commit 50a93ce91a
51 changed files with 8210 additions and 4386 deletions
+7
View File
@@ -39,6 +39,9 @@
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
#ifdef POSIX
#include <signal.h>
#endif
//-----------------------------------------------------------------------------
// Forward declarations
@@ -366,7 +369,11 @@ void CEngine::Frame( void )
for (int i = 2000; i >= 0; --i)
{
#if defined(POSIX)
#ifdef __arm__
raise(SIGINT);
#else
__asm( "pause" ); __asm( "pause" ); __asm( "pause" ); __asm( "pause" );
#endif
#elif defined(IS_WINDOWS_PC)
_asm { pause }; _asm { pause }; _asm { pause }; _asm { pause };
#endif