mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
fixed compiling ldplayer (nw)
This commit is contained in:
parent
766f90c867
commit
51968eddb3
3
makefile
3
makefile
@ -381,6 +381,7 @@ GEN_FOLDERS := \
|
||||
$(GENDIR)/mame/layout/ \
|
||||
$(GENDIR)/mess/layout/ \
|
||||
$(GENDIR)/mess/drivers/ \
|
||||
$(GENDIR)/ldplayer/layout/ \
|
||||
$(GENDIR)/osd/windows/) \
|
||||
$(GENDIR)/emu/cpu/arcompact/ \
|
||||
$(GENDIR)/emu/cpu/h8/ \
|
||||
@ -396,7 +397,7 @@ $(GEN_FOLDERS):
|
||||
-$(call MKDIR,$@)
|
||||
|
||||
|
||||
LAYOUTS=$(wildcard $(SRC)/emu/layout/*.lay) $(wildcard $(SRC)/mame/layout/*.lay) $(wildcard $(SRC)/mess/layout/*.lay)
|
||||
LAYOUTS=$(wildcard $(SRC)/emu/layout/*.lay) $(wildcard $(SRC)/mame/layout/*.lay) $(wildcard $(SRC)/mess/layout/*.lay) $(wildcard $(SRC)/ldplayer/layout/*.lay)
|
||||
|
||||
ifeq ($(TARGETOS),macosx)
|
||||
MOC_FILES=
|
||||
|
@ -72,6 +72,7 @@ function mainProject(_target, _subtarget)
|
||||
MAME_DIR .. "3rdparty",
|
||||
MAME_DIR .. "3rdparty/zlib",
|
||||
GEN_DIR .. "mame/layout",
|
||||
GEN_DIR .. "ldplayer/layout",
|
||||
GEN_DIR .. "osd/windows",
|
||||
}
|
||||
|
||||
|
85
scripts/target/ldplayer/ldplayer.lua
Normal file
85
scripts/target/ldplayer/ldplayer.lua
Normal file
@ -0,0 +1,85 @@
|
||||
---------------------------------------------------------------------------
|
||||
--
|
||||
-- ldplayer.lua
|
||||
--
|
||||
-- Small makefile to build a standalone laserdisc player
|
||||
--
|
||||
-- Copyright Nicola Salmoria and the MAME Team.
|
||||
-- Visit http://mamedev.org for licensing and usage restrictions.
|
||||
--
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify required CPU cores (none)
|
||||
--------------------------------------------------
|
||||
|
||||
CPUS["MCS48"] = true
|
||||
CPUS["Z80"] = true
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify required sound cores
|
||||
--------------------------------------------------
|
||||
|
||||
SOUNDS["WAVE"] = true
|
||||
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify available video cores
|
||||
--------------------------------------------------
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify available machine cores
|
||||
--------------------------------------------------
|
||||
|
||||
MACHINES["LDV1000"] = true
|
||||
MACHINES["LDPR8210"] = true
|
||||
|
||||
--------------------------------------------------
|
||||
-- specify available bus cores
|
||||
--
|
||||
-- MIDI is here as dummy bus to allow libbus.a to
|
||||
-- be created on OSX.
|
||||
--------------------------------------------------
|
||||
|
||||
BUSES["MIDI"] = true
|
||||
|
||||
--------------------------------------------------
|
||||
-- this is the list of driver libraries that
|
||||
-- comprise MAME plus mamedriv.o which contains
|
||||
-- the list of drivers
|
||||
--------------------------------------------------
|
||||
|
||||
function createProjects(_target, _subtarget)
|
||||
project ("drvldplayer")
|
||||
targetsubdir(_target .."_" .. _subtarget)
|
||||
kind "StaticLib"
|
||||
uuid (os.uuid("drvldplayer"))
|
||||
|
||||
options {
|
||||
"ForceCPP",
|
||||
}
|
||||
|
||||
includedirs {
|
||||
MAME_DIR .. "src/emu",
|
||||
MAME_DIR .. "src/mame",
|
||||
MAME_DIR .. "src/lib",
|
||||
MAME_DIR .. "src/lib/util",
|
||||
MAME_DIR .. "3rdparty",
|
||||
MAME_DIR .. "3rdparty/zlib",
|
||||
GEN_DIR .. "mame/layout",
|
||||
}
|
||||
|
||||
includeosd()
|
||||
|
||||
files{
|
||||
MAME_DIR .. "src/emu/drivers/emudummy.c",
|
||||
}
|
||||
end
|
||||
|
||||
function linkProjects(_target, _subtarget)
|
||||
links {
|
||||
"drvldplayer",
|
||||
}
|
||||
end
|
@ -8,7 +8,7 @@ import sys
|
||||
|
||||
def parse_args():
|
||||
def usage():
|
||||
sys.stderr.write('Usage: verinfo.py [-b mame|mess|ume] [-r|-p] [-o <outfile>] <srcfile>\n')
|
||||
sys.stderr.write('Usage: verinfo.py [-b mame|mess|ume|ldplayer] [-r|-p] [-o <outfile>] <srcfile>\n')
|
||||
sys.exit(1)
|
||||
|
||||
flags = True
|
||||
@ -24,7 +24,7 @@ def parse_args():
|
||||
format = 'plist'
|
||||
elif flags and (sys.argv[i] == '-b'):
|
||||
i += 1
|
||||
if (i >= len(sys.argv)) or (sys.argv[i] not in ('mame', 'mess', 'ume')):
|
||||
if (i >= len(sys.argv)) or (sys.argv[i] not in ('mame', 'mess', 'ume', 'ldplayer')):
|
||||
usage()
|
||||
else:
|
||||
target = sys.argv[i]
|
||||
|
Loading…
Reference in New Issue
Block a user