diff options
author | Vas Crabb <vas@vastheman.com> | 2021-12-01 15:20:12 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2021-12-01 15:20:12 +1100 |
commit | 42f81753d2a130ffcdae524cca3d93831034c770 (patch) | |
tree | 94a39b0eb7717871ed67f8287b2bd323b0b01d7a /src/mame/machine | |
parent | 989fd54201eef7f4c03d3dd499a83e194b29d87d (diff) |
Soul-crushingly frustrating clean-up:
* Patched up a pile of code that was rotting behind UNUSED_FUNCTION, and
switched to [[maybe_unused]] attribute so it can't rot so easily.
* Reduced a bit more redundancy in fruit machine layouts.
Diffstat (limited to 'src/mame/machine')
-rw-r--r-- | src/mame/machine/tatsumi.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/tatsumi.cpp b/src/mame/machine/tatsumi.cpp index 93922f9a614..a9837222f5f 100644 --- a/src/mame/machine/tatsumi.cpp +++ b/src/mame/machine/tatsumi.cpp @@ -266,7 +266,7 @@ uint16_t tatsumi_state::tatsumi_v30_68000_r(offs_t offset) /* Read from 68k RAM */ if ((m_control_word&0x1f)==0x18) { - #ifdef UNUSED_FUNCTION +#if 0 // hack to make roundup 5 boot // doesn't seem necessary anymore, left for reference if (m_maincpu->pc()==0xec575) @@ -282,7 +282,7 @@ uint16_t tatsumi_state::tatsumi_v30_68000_r(offs_t offset) dst[BYTE_XOR_LE(0xfc524)]=0x46; dst[BYTE_XOR_LE(0xfc525)]=0x46; } - #endif +#endif return m_sharedram[offset & 0x1fff]; } @@ -313,7 +313,7 @@ uint8_t cyclwarr_state::oki_status_xor_r() // fwiw returning normal oki status doesn't work at all, both games don't make any sound. // TODO: verify with HW return (r ^ 0xff); - #ifdef UNUSED_FUNCTION +#if 0 // old hack left for reference if (m_audiocpu->pc()==0x2b70 || m_audiocpu->pc()==0x2bb5 @@ -326,5 +326,5 @@ uint8_t cyclwarr_state::oki_status_xor_r() || m_audiocpu->pc()==0x1cac) // BigFight return 0; return r; - #endif +#endif } |