summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/devices.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/devices.lua')
-rw-r--r--scripts/src/devices.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/src/devices.lua b/scripts/src/devices.lua
index 79bcdec11d4..4940ccdaafd 100644
--- a/scripts/src/devices.lua
+++ b/scripts/src/devices.lua
@@ -54,6 +54,8 @@ function devicesProject(_target, _subtarget)
dofile(path.join("src", "bus.lua"))
+ pchsource(MAME_DIR .. "src/devices/machine/timer.cpp")
+
if #disasm_files > 0 then
project ("dasm")
uuid ("f2d28b0a-6da5-4f78-b629-d834aa00429d")
@@ -78,6 +80,14 @@ if #disasm_files > 0 then
disasm_files
}
+ for key,value in pairs(disasm_files) do
+ if string.endswith(value, ".cpp") then
+ --print("calling pchsource with " .. value)
+ pchsource(value)
+ break
+ end
+ end
+
if #disasm_dependency > 0 then
dependency(disasm_dependency)
end