summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/315-5881_crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/315-5881_crypt.h')
-rw-r--r--src/mame/machine/315-5881_crypt.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/machine/315-5881_crypt.h b/src/mame/machine/315-5881_crypt.h
index 98dcd37d1b8..7d4af94d670 100644
--- a/src/mame/machine/315-5881_crypt.h
+++ b/src/mame/machine/315-5881_crypt.h
@@ -17,13 +17,13 @@ public:
// construction/destruction
sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- DECLARE_READ16_MEMBER(ready_r);
- DECLARE_WRITE16_MEMBER(subkey_le_w);
- DECLARE_WRITE16_MEMBER(subkey_be_w);
- DECLARE_WRITE16_MEMBER(addrlo_w);
- DECLARE_WRITE16_MEMBER(addrhi_w);
- DECLARE_READ16_MEMBER(decrypt_le_r);
- DECLARE_READ16_MEMBER(decrypt_be_r);
+ uint16_t ready_r();
+ void subkey_le_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
+ void subkey_be_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
+ void addrlo_w(uint16_t data);
+ void addrhi_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
+ uint16_t decrypt_le_r();
+ uint16_t decrypt_be_r();
void iomap_64be(address_map &map);
void iomap_le(address_map &map);