summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/src/osd/windows.lua
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2021-08-24 12:52:01 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2021-08-24 12:52:01 +1000
commit41f9d7b7ea557e904bb7285b7b73dd4505d35d84 (patch)
tree8b534fda5416fb3da98f3421ab97f6c14c144dfe /docs/release/scripts/src/osd/windows.lua
parent62aaa95bd13ab77224c27d035139bbb24b513174 (diff)
0.235 filestag235
Diffstat (limited to 'docs/release/scripts/src/osd/windows.lua')
-rw-r--r--docs/release/scripts/src/osd/windows.lua36
1 files changed, 2 insertions, 34 deletions
diff --git a/docs/release/scripts/src/osd/windows.lua b/docs/release/scripts/src/osd/windows.lua
index aa6b0241fb9..cefe6234cf3 100644
--- a/docs/release/scripts/src/osd/windows.lua
+++ b/docs/release/scripts/src/osd/windows.lua
@@ -22,17 +22,6 @@ function maintargetosdoptions(_target,_subtarget)
configuration { }
- if _OPTIONS["DIRECTINPUT"] == "8" then
- links {
- "dinput8",
- }
- else
- links {
- "dinput",
- }
- end
-
-
if _OPTIONS["USE_SDL"] == "1" then
links {
"SDL.dll",
@@ -40,6 +29,7 @@ function maintargetosdoptions(_target,_subtarget)
end
links {
+ "dinput8",
"comctl32",
"comdlg32",
"psapi",
@@ -50,19 +40,6 @@ end
newoption {
- trigger = "DIRECTINPUT",
- description = "Minimum DirectInput version to support",
- allowed = {
- { "7", "Support DirectInput 7 or later" },
- { "8", "Support DirectInput 8 or later" },
- },
-}
-
-if not _OPTIONS["DIRECTINPUT"] then
- _OPTIONS["DIRECTINPUT"] = "8"
-end
-
-newoption {
trigger = "USE_SDL",
description = "Enable SDL sound output",
allowed = {
@@ -124,18 +101,9 @@ project ("osd_" .. _OPTIONS["osd"])
defines {
"DIRECT3D_VERSION=0x0900",
+ "DIRECTINPUT_VERSION=0x0800",
}
- if _OPTIONS["DIRECTINPUT"] == "8" then
- defines {
- "DIRECTINPUT_VERSION=0x0800",
- }
- else
- defines {
- "DIRECTINPUT_VERSION=0x0700",
- }
- end
-
includedirs {
MAME_DIR .. "src/emu",
MAME_DIR .. "src/devices", -- accessing imagedev from debugger