mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-26 04:05:53 +01:00
Added codepath for ARM here (simple copy of PPC version)
This commit is contained in:
parent
b2fd42dc60
commit
c4ac41ed56
|
@ -34,6 +34,14 @@ inline ULONG _control87(WORD newcw, WORD mask)
|
|||
fpw |= (newcw & mask);
|
||||
}
|
||||
return(fpw);
|
||||
#elif defined(__arm__)
|
||||
static WORD fpw=_PC_64;
|
||||
if (mask != 0)
|
||||
{
|
||||
fpw &= ~mask;
|
||||
fpw |= (newcw & mask);
|
||||
}
|
||||
return(fpw);
|
||||
#else
|
||||
WORD fpw = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user