R3000 is separate CPU, helps building some drivers with SOURCES (nw)

This commit is contained in:
Miodrag Milanovic 2016-04-28 18:25:31 +02:00
parent c38ba69bde
commit 50361fcc23
3 changed files with 17 additions and 3 deletions

View File

@ -1082,14 +1082,27 @@ end
--------------------------------------------------
-- MIPS R3000 (MIPS I/II) series
--@src/devices/cpu/mips/r3000.h,CPUS["R3000"] = true
--------------------------------------------------
if (CPUS["R3000"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/mips/r3000.cpp",
MAME_DIR .. "src/devices/cpu/mips/r3000.h",
}
end
if (CPUS["R3000"]~=null or _OPTIONS["with-tools"]) then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/r3kdasm.cpp")
end
--------------------------------------------------
-- MIPS R4000 (MIPS III/IV) series
--@src/devices/cpu/mips/mips3.h,CPUS["MIPS"] = true
--------------------------------------------------
if (CPUS["MIPS"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/mips/r3000.cpp",
MAME_DIR .. "src/devices/cpu/mips/r3000.h",
MAME_DIR .. "src/devices/cpu/mips/mips3com.cpp",
MAME_DIR .. "src/devices/cpu/mips/mips3com.h",
MAME_DIR .. "src/devices/cpu/mips/mips3.cpp",
@ -1101,7 +1114,6 @@ if (CPUS["MIPS"]~=null) then
end
if (CPUS["MIPS"]~=null or _OPTIONS["with-tools"]) then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/r3kdasm.cpp")
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips3dsm.cpp")
end

View File

@ -58,6 +58,7 @@ CPUS["JAGUAR"] = true
CPUS["CUBEQCPU"] = true
CPUS["ESRIP"] = true
CPUS["MIPS"] = true
CPUS["R3000"] = true
CPUS["PSX"] = true
CPUS["SH2"] = true
CPUS["SH4"] = true

View File

@ -58,6 +58,7 @@ CPUS["JAGUAR"] = true
CPUS["CUBEQCPU"] = true
CPUS["ESRIP"] = true
CPUS["MIPS"] = true
CPUS["R3000"] = true
CPUS["PSX"] = true
CPUS["SH2"] = true
CPUS["SH4"] = true