diff options
-rw-r--r-- | scripts/target/mame/arcade.lua | 1 | ||||
-rw-r--r-- | src/mame/drivers/r2dx_v33.cpp | 1 | ||||
-rw-r--r-- | src/mame/drivers/raiden2.cpp | 2 | ||||
-rw-r--r-- | src/mame/includes/raiden2.h | 4 | ||||
-rw-r--r-- | src/mame/machine/r2crypt.h | 7 |
5 files changed, 10 insertions, 5 deletions
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 546e2de9de6..99fb9fc2bc8 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -3240,6 +3240,7 @@ files { MAME_DIR .. "src/mame/drivers/raiden2.cpp", MAME_DIR .. "src/mame/includes/raiden2.h", MAME_DIR .. "src/mame/machine/r2crypt.cpp", + MAME_DIR .. "src/mame/machine/r2crypt.h", MAME_DIR .. "src/mame/machine/raiden2cop.cpp", MAME_DIR .. "src/mame/machine/raiden2cop.h", MAME_DIR .. "src/mame/drivers/r2dx_v33.cpp", diff --git a/src/mame/drivers/r2dx_v33.cpp b/src/mame/drivers/r2dx_v33.cpp index 1b6ae4510ec..59c49d60426 100644 --- a/src/mame/drivers/r2dx_v33.cpp +++ b/src/mame/drivers/r2dx_v33.cpp @@ -67,6 +67,7 @@ Then it puts settings at 0x9e08 and 0x9e0a (bp 91acb) #include "machine/eepromser.h" #include "sound/okim6295.h" #include "includes/raiden2.h" +#include "machine/r2crypt.h" class r2dx_v33_state : public raiden2_state diff --git a/src/mame/drivers/raiden2.cpp b/src/mame/drivers/raiden2.cpp index e5bc0fe0f7c..9a05c63aa8c 100644 --- a/src/mame/drivers/raiden2.cpp +++ b/src/mame/drivers/raiden2.cpp @@ -139,7 +139,7 @@ Protection Notes: #include "machine/eepromser.h" #include "sound/okim6295.h" #include "includes/raiden2.h" - +#include "machine/r2crypt.h" void raiden2_state::machine_start() { diff --git a/src/mame/includes/raiden2.h b/src/mame/includes/raiden2.h index 0cedfb94a78..6a2a1e06217 100644 --- a/src/mame/includes/raiden2.h +++ b/src/mame/includes/raiden2.h @@ -156,7 +156,3 @@ public: protected: virtual void machine_start() override; }; - -/*----------- defined in machine/r2crypt.c -----------*/ -void raiden2_decrypt_sprites(running_machine &machine); -void zeroteam_decrypt_sprites(running_machine &machine); diff --git a/src/mame/machine/r2crypt.h b/src/mame/machine/r2crypt.h new file mode 100644 index 00000000000..39293d4737c --- /dev/null +++ b/src/mame/machine/r2crypt.h @@ -0,0 +1,7 @@ +// license:LGPL-2.1+ +// copyright-holders:Olivier Galibert, Angelo Salese, David Haywood, Tomasz Slanina + +#include "machine/seibuspi.h" + +void raiden2_decrypt_sprites(running_machine &machine); +void zeroteam_decrypt_sprites(running_machine &machine); |