diff options
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/emu.lua | 15 | ||||
-rw-r--r-- | scripts/src/main.lua | 2 | ||||
-rw-r--r-- | scripts/src/sound.lua | 1 |
3 files changed, 8 insertions, 10 deletions
diff --git a/scripts/src/emu.lua b/scripts/src/emu.lua index 12e7525aca1..1205b8e6ab8 100644 --- a/scripts/src/emu.lua +++ b/scripts/src/emu.lua @@ -408,15 +408,7 @@ function emuProject(_target, _subtarget) dofile(path.join("src", "machine.lua")) - -- netlist now defines a project - dofile(path.join("src", "netlist.lua")) - - bus_count = 0 - for k,v in pairs(BUSES) do - bus_count = bus_count + 1 - end - -if (bus_count > 0) then +if (_OPTIONS["DRIVERS"] == nil) then project ("bus") uuid ("5d782c89-cf7e-4cfe-8f9f-0d4bfc16c91d") kind (LIBTYPE) @@ -454,8 +446,13 @@ if (bus_count > 0) then end dofile(path.join("src", "bus.lua")) +else + dofile(path.join("src", "bus.lua")) end + -- netlist now defines a project + dofile(path.join("src", "netlist.lua")) + project ("dasm") uuid ("f2d28b0a-6da5-4f78-b629-d834aa00429d") diff --git a/scripts/src/main.lua b/scripts/src/main.lua index c76cbbf3028..e34295829d6 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -87,7 +87,7 @@ function mainProject(_target, _subtarget) links { "osd_" .. _OPTIONS["osd"], } - if (bus_count > 0) then + if (_OPTIONS["DRIVERS"] == nil) then links { "bus", } diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index f92098a7a3d..1bd78f8ed35 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -1130,6 +1130,7 @@ end --@src/emu/sound/ymf262.h,SOUNDS["YMF262"] = true --@src/emu/sound/ymf271.h,SOUNDS["YMF271"] = true --@src/emu/sound/ymf278b.h,SOUNDS["YMF278B"] = true +--@src/emu/sound/262intf.h,SOUNDS["YMF262"] = true --------------------------------------------------- if (SOUNDS["YM2151"]~=null) then |