diff options
author | 2013-01-21 19:14:37 +0000 | |
---|---|---|
committer | 2013-01-21 19:14:37 +0000 | |
commit | 376c7dc4ab39a8f03c74f92539ec7f97096b6d90 (patch) | |
tree | d4f3386315cad2d7ab32c09455582857ff8a2def /src/mess/machine/sms.c | |
parent | e69625bc74cd0775163be1dc6da0bf9ea88353a1 (diff) |
(MESS)sms.c: Fixed warning (nw)
Diffstat (limited to 'src/mess/machine/sms.c')
-rw-r--r-- | src/mess/machine/sms.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mess/machine/sms.c b/src/mess/machine/sms.c index 4269dc38377..7347e09b5b4 100644 --- a/src/mess/machine/sms.c +++ b/src/mess/machine/sms.c @@ -2093,7 +2093,14 @@ WRITE8_MEMBER(sms_state::sms_store_control_w) WRITE_LINE_MEMBER(sms_state::sms_store_int_callback) { - (m_store_control & 0x01 ? m_control_cpu : m_main_cpu)->set_input_line(0, state); + if ( m_store_control & 0x01 ) + { + m_control_cpu->set_input_line( 0, state ); + } + else + { + m_main_cpu->set_input_line( 0, state ); + } } |