diff options
author | Lord-Nightmare <Lord-Nightmare@users.noreply.github.com> | 2017-09-07 02:26:34 -0400 |
---|---|---|
committer | Lord-Nightmare <Lord-Nightmare@users.noreply.github.com> | 2017-09-07 02:26:34 -0400 |
commit | fbade920a54ee279ac4b5fd64a288156c885037f (patch) | |
tree | 85f6f7f4d4e4e8e8cadf02a264eb5605ce5152fe | |
parent | 01621e3f1261d69269cbb31a23743e04da490a01 (diff) |
minor format changes to ease potential future code merge (nw)
-rw-r--r-- | src/mame/drivers/grchamp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/grchamp.cpp b/src/mame/drivers/grchamp.cpp index 8b0a0a061e5..f5db00ce400 100644 --- a/src/mame/drivers/grchamp.cpp +++ b/src/mame/drivers/grchamp.cpp @@ -454,6 +454,7 @@ TIMER_CALLBACK_MEMBER(grchamp_state::soundlatch_clear7_w_cb) m_soundlatch_data &= 0x7F; } +// RD5000 READ8_MEMBER(grchamp_state::soundlatch_r) { if (!machine().side_effect_disabled()) @@ -464,14 +465,16 @@ READ8_MEMBER(grchamp_state::soundlatch_r) return m_soundlatch_data; } +// WR5000 WRITE8_MEMBER(grchamp_state::soundlatch_clear7_w) { machine().scheduler().synchronize(timer_expired_delegate(FUNC(grchamp_state::soundlatch_clear7_w_cb), this), data); } +// RD5001 READ8_MEMBER(grchamp_state::soundlatch_flags_r) { - return 0x03 | (m_soundlatch_flag?0x8:0); + return (m_soundlatch_flag?8:0) /*| (m_sound_semaphore2?4:0)*/ | 3; } WRITE8_MEMBER(grchamp_state::portA_0_w) |