summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-06 16:33:21 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-06 16:33:21 +0200
commit13f137dde718a913750a6ec943fddf484a7186ea (patch)
tree7968517d0c3e4d0a14981d5a15d1cabf669dc9e6
parent1ff712db7a86ed4c85ee01e0c109242a03b4917a (diff)
And one more (nw)
-rw-r--r--makefile5
-rw-r--r--scripts/genie.lua18
2 files changed, 19 insertions, 4 deletions
diff --git a/makefile b/makefile
index 1a15fe4a9d7..190d4f2ae33 100644
--- a/makefile
+++ b/makefile
@@ -71,6 +71,7 @@
# SSE2 = 1
# OPENMP = 1
# CPP11 = 1
+# FASTDEBUG = 1
###########################################################################
################## END USER-CONFIGURABLE OPTIONS ######################
@@ -477,6 +478,10 @@ ifdef CPP11
PARAMS += --CPP11='$(CPP11)'
endif
+ifdef FASTDEBUG
+PARAMS += --FASTDEBUG='$(FASTDEBUG)'
+endif
+
#-------------------------------------------------
# All scripts
#-------------------------------------------------
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 057b78dc9d1..2134fed8018 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -244,6 +244,15 @@ newoption {
}
}
+newoption {
+ trigger = "FASTDEBUG",
+ description = "Fast DEBUG.",
+ allowed = {
+ { "0", "Disabled" },
+ { "1", "Enabled" },
+ }
+}
+
if not _OPTIONS["BIGENDIAN"] then
_OPTIONS["BIGENDIAN"] = "0"
end
@@ -449,6 +458,11 @@ configuration { "Debug" }
"MAME_DEBUG",
"MAME_PROFILER",
}
+if _OPTIONS["FASTDEBUG"]=="1" then
+ defines {
+ "MAME_DEBUG_FAST"
+ }
+end
configuration { }
@@ -559,10 +573,6 @@ end
--DEFS += -DUSE_SYSTEM_JPEGLIB
--endif
---ifdef FASTDEBUG
---DEFS += -DMAME_DEBUG_FAST
---endif
-
--To support casting in Lua 5.3
defines {
"LUA_COMPAT_APIINTCASTS",