diff options
| author | 2015-11-25 08:22:24 +0100 | |
|---|---|---|
| committer | 2015-11-25 08:22:24 +0100 | |
| commit | 0825ce4f3b8eaab42e3682f7d01d97ce6ea0416d (patch) | |
| tree | 24de29ca8cbba68740ec8cd26f15209f19c2bf0b /src/devices/machine/i8279.cpp | |
| parent | d1d8a66ab196156ab22ba1059d714cd040b44ab6 (diff) | |
Cleanups and version bumpmame0168
Diffstat (limited to 'src/devices/machine/i8279.cpp')
| -rw-r--r-- | src/devices/machine/i8279.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/i8279.cpp b/src/devices/machine/i8279.cpp index 442f943d2b2..d336dd80858 100644 --- a/src/devices/machine/i8279.cpp +++ b/src/devices/machine/i8279.cpp @@ -374,9 +374,9 @@ READ8_MEMBER( i8279_device::data_r ) // read the display ram data = m_d_ram[m_d_ram_ptr]; if (m_autoinc) - { + { m_d_ram_ptr++; - } + } } else if (sensor_mode) @@ -385,13 +385,13 @@ READ8_MEMBER( i8279_device::data_r ) assert(m_s_ram_ptr < ARRAY_LENGTH(m_s_ram)); data = m_s_ram[m_s_ram_ptr]; if (m_autoinc) - { + { m_s_ram_ptr++; - } + } else - { + { set_irq(0); - } + } } else { |
