diff options
author | 2015-04-01 16:11:48 +1100 | |
---|---|---|
committer | 2015-04-01 16:12:03 +1100 | |
commit | 19d52cef70b0ef0c373ddb8c49cefd179d309f37 (patch) | |
tree | 08bcd31f5ca3705aaa0141c2ac728f06e09be84f /scripts/src/osd/sdl.lua | |
parent | 2bd0eb2b0d39b7980750dbad0df400bad394762e (diff) |
Bring back NOASM
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r-- | scripts/src/osd/sdl.lua | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index 732442d70b9..96b171c0192 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -382,12 +382,18 @@ project ("ocore_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/modules/osdmodule.c", MAME_DIR .. "src/osd/modules/lib/osdlib_" .. SDLOS_TARGETOS .. ".c", MAME_DIR .. "src/osd/modules/sync/sync_" .. SYNC_IMPLEMENTATION .. ".c", - --ifdef NOASM - --MAME_DIR .. "src/osd/modules/sync/work_mini.c", - --else - MAME_DIR .. "src/osd/modules/sync/work_osd.c", } + if _OPTIONS["NOASM"]=="1" then + files { + MAME_DIR .. "src/osd/modules/sync/work_mini.c", + } + else + files { + MAME_DIR .. "src/osd/modules/sync/work_osd.c", + } + end + if _OPTIONS["targetos"]=="macosx" then files { MAME_DIR .. "src/osd/sdl/osxutils.m", |