This commit is contained in:
couriersud 2015-03-26 22:40:35 +01:00
commit e7b69feec1
2 changed files with 19 additions and 12 deletions

View File

@ -154,6 +154,12 @@ newoption {
description = "Generate a link map.",
}
newoption {
trigger = "FORCE_DRC_C_BACKEND",
description = "Force DRC C backend.",
}
local os_version = str_to_version(_OPTIONS["os_version"])
USE_BGFX = 1
if (_OPTIONS["targetos"]=="macosx" and os_version < 100700) then
@ -337,6 +343,19 @@ configuration { }
"FLAC__NO_DLL",
}
-- fixme -- need to make this work for other target architectures (PPC)
if _OPTIONS["FORCE_DRC_C_BACKEND"]==nil then
configuration { "x64" }
defines {
"NATIVE_DRC=drcbe_x64",
}
configuration { "x32" }
defines {
"NATIVE_DRC=drcbe_x86",
}
configuration { }
end
-- define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used
--ifneq ($(BUILD_JPEGLIB),1)
--DEFS += -DUSE_SYSTEM_JPEGLIB

View File

@ -36,18 +36,6 @@ if (CPUS["SH2"]~=null or CPUS["MIPS"]~=null or CPUS["POWERPC"]~=null or CPUS["RS
}
end
-- fixme -- need to make this work for other target architectures (PPC)
--ifndef FORCE_DRC_C_BACKEND
configuration { "x64" }
defines { "NATIVE_DRC=drcbe_x64" }
configuration { "x32" }
defines { "NATIVE_DRC=drcbe_x86" }
--endif
configuration { }
--------------------------------------------------
-- Signetics 8X300 / Scientific Micro Systems SMS300
--@src/emu/cpu/8x300/8x300.h,CPUS += 8X300