diff options
author | hap <happppp@users.noreply.github.com> | 2022-05-10 13:11:18 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2022-05-10 13:11:32 +0200 |
commit | 7c67c12282c9d4f2c674a68997b827de084711b6 (patch) | |
tree | bc12c5e1e68eef4e41b97749b78fe55e696455c9 /src/mame/machine | |
parent | bafca0461bb2d15a7a759d2fc5f676fe16a98a23 (diff) |
gollygho: use generic output strings (!!NOTE!! update ext. artwork file)
Diffstat (limited to 'src/mame/machine')
-rw-r--r-- | src/mame/machine/namcos2.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mame/machine/namcos2.cpp b/src/mame/machine/namcos2.cpp index 2c309565135..b55f000450e 100644 --- a/src/mame/machine/namcos2.cpp +++ b/src/mame/machine/namcos2.cpp @@ -18,8 +18,6 @@ Namco System II #include "machine/nvram.h" - - uint16_t namcos2_state::namcos2_finallap_prot_r(offs_t offset) { static const uint16_t table0[8] = { 0x0000,0x0040,0x0440,0x2440,0x2480,0xa080,0x8081,0x8041 }; @@ -84,6 +82,16 @@ void namcos2_state::machine_start() save_item(NAME(m_sendval)); } +void gollygho_state::machine_start() +{ + namcos2_state::machine_start(); + + // resolve outputs + m_out_digit.resolve(); + m_out_diorama.resolve(); + m_out_gun_recoil.resolve(); +} + void namcos2_state::machine_reset() { /* Initialise the bank select in the sound CPU */ @@ -352,8 +360,6 @@ uint16_t namcos2_state::namcos2_68k_key_r(offs_t offset) break; } - - return machine().rand()&0xffff; } |