diff options
author | 2023-02-06 07:51:29 +1100 | |
---|---|---|
committer | 2023-02-06 07:51:29 +1100 | |
commit | 7bf3044c32c26c5cbf5a4f0add665e302be47e11 (patch) | |
tree | 7997fc4ed03c46644ea9b9d84dce7c98d1f5f20a /scripts/src/cpu.lua | |
parent | 7bf6964388f48f096c8fc1105b4d5ff7081a1344 (diff) |
cpu/arcompact: Cleanup:
* Moved common instruction field accessors used by the CPU core and
disassembler to a shared base class and made them constexpr.
* Got the inline member functions bodies file out of the public CPU
header so they aren't pulled in by everything using it.
* Got most of the disassembler handler declarations out of the public
header so they can be changed withut excessive recompiling.
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r-- | scripts/src/cpu.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 996fdbc52d8..e40c49cc94f 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -152,8 +152,10 @@ if CPUS["ARCOMPACT"] then end if opt_tool(CPUS, "ARCOMPACT") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompact_common.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_internal.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_00to01.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_02to03.cpp") |