From fbade920a54ee279ac4b5fd64a288156c885037f Mon Sep 17 00:00:00 2001 From: Lord-Nightmare Date: Thu, 7 Sep 2017 02:26:34 -0400 Subject: minor format changes to ease potential future code merge (nw) --- src/mame/drivers/grchamp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3