mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 00:29:34 +00:00
Add support for aarch64 / apple silicon
This commit is contained in:
parent
ce79101cb3
commit
e981fd2cc3
8 changed files with 20 additions and 5 deletions
|
|
@ -254,7 +254,7 @@ namespace Compiler
|
|||
|
||||
inline StringTableEntry CodeToSTE(U32 *code, U32 ip)
|
||||
{
|
||||
#ifdef TORQUE_CPU_X64
|
||||
#if defined(TORQUE_CPU_X64) || defined(TORQUE_CPU_ARM64)
|
||||
return (StringTableEntry)(*((U64*)(code + ip)));
|
||||
#else
|
||||
return (StringTableEntry)(*(code + ip));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue