diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-05-01 17:20:50 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-05-01 17:20:50 +0200 |
commit | 521198036de2c291dfb1b6b439514bb730501d43 (patch) | |
tree | bd44307b6ed8c532281d51173cc5e62157495190 /scripts | |
parent | 73521257e8948896aa919465b6ecb3f4f5823155 (diff) |
move gb sound and gb lcd in order to make snes compile, since used by bus device (nw)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/src/sound.lua | 11 | ||||
-rw-r--r-- | scripts/src/video.lua | 12 | ||||
-rw-r--r-- | scripts/target/mame/mess.lua | 6 |
3 files changed, 25 insertions, 4 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index 019071aca32..8039109941a 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -1356,3 +1356,14 @@ if (SOUNDS["UPD1771"]~=null) then MAME_DIR .. "src/devices/sound/upd1771.h", } end +--------------------------------------------------- +-- GB_SOUND +--@src/devices/sound/gb.h,SOUNDS["GB_SOUND"] = true +--------------------------------------------------- + +if (SOUNDS["GB_SOUND"]~=null) then + files { + MAME_DIR .. "src/devices/sound/gb.cpp", + MAME_DIR .. "src/devices/sound/gb.h", + } +end diff --git a/scripts/src/video.lua b/scripts/src/video.lua index 337dd9d363c..a8993df052b 100644 --- a/scripts/src/video.lua +++ b/scripts/src/video.lua @@ -864,3 +864,15 @@ if (VIDEOS["JANGOU_BLITTER"]~=null) then MAME_DIR .. "src/devices/video/jangou_blitter.h", } end + +-------------------------------------------------- +-- +--@src/devices/video/gb_lcd.h,VIDEOS["GB_LCD"] = true +-------------------------------------------------- + +if (VIDEOS["GB_LCD"]~=null) then + files { + MAME_DIR .. "src/devices/video/gb_lcd.cpp", + MAME_DIR .. "src/devices/video/gb_lcd.h", + } +end diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 0f24a46939e..6fc758ac0a0 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -258,6 +258,7 @@ SOUNDS["MOS7360"] = true SOUNDS["ESQPUMP"] = true SOUNDS["VRC6"] = true SOUNDS["UPD1771"] = true +SOUNDS["GB_SOUND"] = true -------------------------------------------------- -- specify available video cores -------------------------------------------------- @@ -329,6 +330,7 @@ VIDEOS["V9938"] = true VIDEOS["VIC4567"] = true --VIDEOS+= VOODOO"] = true VIDEOS["SCN2674"] = true +VIDEOS["GB_LCD"] = true -------------------------------------------------- -- specify available machine cores @@ -2137,11 +2139,7 @@ createMESSProjects(_target, _subtarget, "nintendo") files { MAME_DIR .. "src/mame/drivers/gb.cpp", MAME_DIR .. "src/mame/includes/gb.h", - MAME_DIR .. "src/mame/audio/gb.cpp", - MAME_DIR .. "src/mame/audio/gb.h", MAME_DIR .. "src/mame/machine/gb.cpp", - MAME_DIR .. "src/mame/video/gb_lcd.cpp", - MAME_DIR .. "src/mame/video/gb_lcd.h", MAME_DIR .. "src/mame/drivers/gba.cpp", MAME_DIR .. "src/mame/includes/gba.h", MAME_DIR .. "src/mame/video/gba.cpp", |