diff options
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r-- | scripts/src/cpu.lua | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 2598688fe97..8d115a91ed0 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -42,12 +42,19 @@ if (CPU_INCLUDE_DRC) then MAME_DIR .. "src/devices/cpu/drcumlsh.h", } if not _OPTIONS["FORCE_DRC_C_BACKEND"] then - files { - MAME_DIR .. "src/devices/cpu/drcbex64.cpp", - MAME_DIR .. "src/devices/cpu/drcbex64.h", - MAME_DIR .. "src/devices/cpu/drcbex86.cpp", - MAME_DIR .. "src/devices/cpu/drcbex86.h", - } + if (_OPTIONS["PLATFORM"]=="arm64") then + files { + MAME_DIR .. "src/devices/cpu/drcbearm64.cpp", + MAME_DIR .. "src/devices/cpu/drcbearm64.h", + } + else + files { + MAME_DIR .. "src/devices/cpu/drcbex64.cpp", + MAME_DIR .. "src/devices/cpu/drcbex64.h", + MAME_DIR .. "src/devices/cpu/drcbex86.cpp", + MAME_DIR .. "src/devices/cpu/drcbex86.h", + } + end end if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then |