Fix deco crypt separate compile (nw)

This commit is contained in:
Miodrag Milanovic 2016-04-30 18:49:36 +02:00
parent 4b6237fbfd
commit 61349c9eaa
24 changed files with 45 additions and 37 deletions

View File

@ -1457,6 +1457,7 @@ files {
MAME_DIR .. "src/mame/video/deco_mlc.cpp",
MAME_DIR .. "src/mame/drivers/deco156.cpp",
MAME_DIR .. "src/mame/machine/deco156.cpp",
MAME_DIR .. "src/mame/machine/deco156.h",
MAME_DIR .. "src/mame/drivers/deco32.cpp",
MAME_DIR .. "src/mame/includes/deco32.h",
MAME_DIR .. "src/mame/video/deco32.cpp",
@ -1550,8 +1551,9 @@ files {
MAME_DIR .. "src/mame/includes/vaportra.h",
MAME_DIR .. "src/mame/video/vaportra.cpp",
MAME_DIR .. "src/mame/machine/deco102.cpp",
MAME_DIR .. "src/mame/machine/deco102.h",
MAME_DIR .. "src/mame/machine/decocrpt.cpp",
MAME_DIR .. "src/mame/includes/decocrpt.h",
MAME_DIR .. "src/mame/machine/decocrpt.h",
MAME_DIR .. "src/mame/machine/deco104.cpp",
MAME_DIR .. "src/mame/machine/deco104.h",
MAME_DIR .. "src/mame/machine/deco146.cpp",

View File

@ -14,7 +14,8 @@
#define DE156CPU ARM
#include "emu.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco156.h"
#include "machine/eepromser.h"
#include "sound/okim6295.h"
#include "sound/ymz280b.h"

View File

@ -84,7 +84,8 @@
#include "cpu/m68000/m68000.h"
#include "cpu/h6280/h6280.h"
#include "includes/boogwing.h"
#include "includes/decocrpt.h"
#include "machine/deco102.h"
#include "machine/decocrpt.h"
#include "sound/2151intf.h"
#include "sound/okim6295.h"

View File

@ -47,7 +47,7 @@ Note about version levels using Mutant Fighter as the example:
#include "cpu/m68000/m68000.h"
#include "cpu/h6280/h6280.h"
#include "includes/cninja.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "sound/2203intf.h"
#include "sound/2151intf.h"
#include "sound/okim6295.h"

View File

@ -70,7 +70,8 @@ Notes:
#include "emu.h"
#include "cpu/z80/z80.h"
#include "cpu/m68000/m68000.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco102.h"
#include "sound/2151intf.h"
#include "sound/okim6295.h"
#include "video/deco16ic.h"

View File

@ -15,7 +15,8 @@
#include "emu.h"
#include "cpu/arm/arm.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco156.h"
#include "machine/eepromser.h"
#include "sound/okim6295.h"
#include "sound/ymz280b.h"

View File

@ -368,7 +368,8 @@ NOTE: There are several unpopulated locations (denoted by *) for additional rom
#include "cpu/h6280/h6280.h"
#include "cpu/m6809/m6809.h"
#include "cpu/z80/z80.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco156.h"
#include "includes/deco32.h"
#include "sound/2151intf.h"

View File

@ -100,7 +100,7 @@
***************************************************************************/
#include "emu.h"
#include "includes/decocrpt.h"
#include "machine/deco156.h"
#include "machine/eepromser.h"
#include "cpu/arm/arm.h"
#include "cpu/sh2/sh2.h"

View File

@ -25,7 +25,8 @@ PAL16R6A 11H
#include "cpu/h6280/h6280.h"
#include "sound/2151intf.h"
#include "sound/okim6295.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco102.h"
#include "includes/dietgo.h"

View File

@ -23,7 +23,7 @@ lamps?
#include "emu.h"
#include "cpu/z80/z80.h"
#include "cpu/m68000/m68000.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "sound/okim6295.h"
#include "video/deco16ic.h"
#include "video/decospr.h"

View File

@ -92,7 +92,7 @@ Notes:
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "cpu/h6280/h6280.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "includes/funkyjet.h"
#include "sound/2151intf.h"
#include "sound/okim6295.h"

View File

@ -36,7 +36,7 @@ MR_01-.3A [a0b758aa]
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "video/deco16ic.h"
#include "sound/okim6295.h"
#include "video/bufsprite.h"

View File

@ -56,7 +56,8 @@ bootleg todo:
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco102.h"
#include "sound/okim6295.h"
#include "includes/pktgaldx.h"

View File

@ -109,7 +109,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "cpu/h6280/h6280.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "includes/rohga.h"
#include "sound/2151intf.h"
#include "sound/okim6295.h"

View File

@ -91,7 +91,8 @@ Are the OKI M6295 clocks from Heavy Smash are correct at least for the Mitchell
*/
#include "emu.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "machine/deco156.h"
#include "cpu/arm/arm.h"
#include "includes/simpl156.h"
#include "machine/eepromser.h"

View File

@ -302,7 +302,7 @@ Stephh's notes (based on the games M68000 code and some tests) :
#include "cpu/m68000/m68000.h"
#include "cpu/h6280/h6280.h"
#include "cpu/mcs51/mcs51.h" // for semicom mcu
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "sound/2151intf.h"
#include "sound/3812intf.h"
#include "sound/okim6295.h"

View File

@ -44,7 +44,7 @@ Stephh's notes (based on the games M68000 code and some tests) :
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "cpu/h6280/h6280.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
#include "sound/2151intf.h"
#include "sound/3812intf.h"
#include "sound/okim6295.h"

View File

@ -1,17 +0,0 @@
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
/*----------- defined in machine/decocrpt.c -----------*/
void deco56_decrypt_gfx(running_machine &machine, const char *tag);
void deco74_decrypt_gfx(running_machine &machine, const char *tag);
void deco56_remap_gfx(running_machine &machine, const char *tag);
/*----------- defined in machine/deco102.c -----------*/
void deco102_decrypt_cpu(UINT16 *rom, UINT16 *opcodes, int size, int address_xor, int data_select_xor, int opcode_select_xor);
/*----------- defined in machine/deco156.c -----------*/
void deco156_decrypt(running_machine &machine);

View File

@ -11,7 +11,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
#include "includes/decocrpt.h"
#include "machine/deco102.h"
static UINT16 decrypt(UINT16 data, int address, int select_xor)
{

View File

@ -0,0 +1,4 @@
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
void deco102_decrypt_cpu(UINT16 *rom, UINT16 *opcodes, int size, int address_xor, int data_select_xor, int opcode_select_xor);

View File

@ -33,7 +33,7 @@
*/
#include "emu.h"
#include "includes/decocrpt.h"
#include "machine/deco156.h"
static void decrypt(UINT32 *src, UINT32 *dst, int length)

View File

@ -0,0 +1,4 @@
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
void deco156_decrypt(running_machine &machine);

View File

@ -44,7 +44,7 @@ Sotsugyo Shousho 1995
*******************************************************************************/
#include "emu.h"
#include "includes/decocrpt.h"
#include "machine/decocrpt.h"
static const UINT16 xor_masks[16] =
{

View File

@ -0,0 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
void deco56_decrypt_gfx(running_machine &machine, const char *tag);
void deco74_decrypt_gfx(running_machine &machine, const char *tag);
void deco56_remap_gfx(running_machine &machine, const char *tag);