diff options
author | 2016-04-12 15:43:15 +0200 | |
---|---|---|
committer | 2016-04-12 15:43:15 +0200 | |
commit | c833268236d712f5e07d2138e6df5b4ba26e114b (patch) | |
tree | 95801c6c3f4f6f1d3010919b9527ee2296d2cfa9 /scripts/src | |
parent | ca580178cbad3e317c1d888fc01730443e2d0afb (diff) |
Added DEBUG_DIR and DEBUG_ARGS parameters, make sense right now for VS build (nw)
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/main.lua | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 7d97eae1c1c..44e34207dd8 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -342,6 +342,15 @@ end configuration { } - debugdir (MAME_DIR) - debugargs ("-window") + if _OPTIONS["DEBUG_DIR"]~=nil then + debugdir (_OPTIONS["DEBUG_DIR"]) + else + debugdir (MAME_DIR) + end + if _OPTIONS["DEBUG_ARGS"]~=nil then + debugargs (_OPTIONS["DEBUG_ARGS"]) + else + debugargs ("-window") + end + end |