diff options
author | 2015-05-10 18:02:48 +0200 | |
---|---|---|
committer | 2015-05-10 18:03:15 +0200 | |
commit | e923df8137f4a558302d97ed37008655ec45631a (patch) | |
tree | 57180e7d47613835f4ef7c623a93c24ebcc8eafd /scripts/src/main.lua | |
parent | 17dce9676664b714631c24b513f71b97820a71af (diff) |
made mess to behave as before (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r-- | scripts/src/main.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 9b696de9f70..3cf80d968d0 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -169,8 +169,12 @@ function mainProject(_target, _subtarget) end end + local mainfile = MAME_DIR .. "src/".._target .."/" .. _subtarget ..".c" + if not os.isfile(mainfile) then + mainfile = MAME_DIR .. "src/".._target .."/" .. _target ..".c" + end files { - MAME_DIR .. "src/".._target .."/" .. _target ..".c", + mainfile, MAME_DIR .. "src/version.c", GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.c", } |