move gb sound and gb lcd in order to make snes compile, since used by bus device (nw)

This commit is contained in:
Miodrag Milanovic 2016-05-01 17:20:50 +02:00
parent 73521257e8
commit 521198036d
11 changed files with 29 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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",

View File

@ -11,7 +11,7 @@
#include "bus/gameboy/rom.h"
#include "bus/gameboy/mbc.h"
#include "video/gb_lcd.h"
#include "audio/gb.h"
#include "sound/gb.h"
// ======================> sns_rom_sgb_device

View File

@ -14,7 +14,7 @@
#include "cpu/arm7/arm7.h"
#include "cpu/arm7/arm7core.h"
#include "sound/dac.h"
#include "audio/gb.h"
#include "sound/gb.h"
#include "includes/gba.h"
#include "bus/gba/rom.h"
#include "rendlay.h"

View File

@ -9,7 +9,7 @@
#ifndef GB_H_
#define GB_H_
#include "audio/gb.h"
#include "sound/gb.h"
#include "cpu/lr35902/lr35902.h"
#include "bus/gameboy/gb_slot.h"
#include "machine/ram.h"

View File

@ -3,7 +3,7 @@
#ifndef _GBA_H_
#define _GBA_H_
#include "audio/gb.h"
#include "sound/gb.h"
#include "machine/intelfsh.h"
#include "bus/gba/gba_slot.h"
#include "sound/dac.h"