diff options
| author | 2015-06-24 07:36:50 +0200 | |
|---|---|---|
| committer | 2015-06-24 07:36:50 +0200 | |
| commit | d1583b9850d9fb45470648a515eb734e05fd926f (patch) | |
| tree | 33a4d9934bd2ff6c41526abe0ba06c1d1ea73eb6 /src/emu/machine | |
| parent | 03a5bfa56fa4af400f6b9fb07a5e1333aa8fa52f (diff) | |
Cleanups and version bumpmame0163
Diffstat (limited to 'src/emu/machine')
| -rw-r--r-- | src/emu/machine/6532riot.c | 2 | ||||
| -rw-r--r-- | src/emu/machine/6532riot.h | 2 | ||||
| -rw-r--r-- | src/emu/machine/netlist.h | 2 | ||||
| -rw-r--r-- | src/emu/machine/tms1024.c | 8 | ||||
| -rw-r--r-- | src/emu/machine/tms1024.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/machine/6532riot.c b/src/emu/machine/6532riot.c index 937c66db6f3..98bb8c2dacc 100644 --- a/src/emu/machine/6532riot.c +++ b/src/emu/machine/6532riot.c @@ -480,4 +480,4 @@ void riot6532_device::device_timer(emu_timer &timer, device_timer_id id, int par default: assert_always(FALSE, "Unknown id in riot6532_device::device_timer"); } -}
\ No newline at end of file +} diff --git a/src/emu/machine/6532riot.h b/src/emu/machine/6532riot.h index 75b3653489a..2825f31dc9d 100644 --- a/src/emu/machine/6532riot.h +++ b/src/emu/machine/6532riot.h @@ -113,7 +113,7 @@ private: UINT8 m_timershift; UINT8 m_timerstate; emu_timer * m_timer; - + enum { TIMER_END_CB diff --git a/src/emu/machine/netlist.h b/src/emu/machine/netlist.h index 3893807de07..191caca87ca 100644 --- a/src/emu/machine/netlist.h +++ b/src/emu/machine/netlist.h @@ -73,7 +73,7 @@ private: pstring m_name; }; -#define MEMREGION_SOURCE(_name) \ +#define MEMREGION_SOURCE(_name) \ setup.register_source(palloc(netlist_source_memregion_t, _name)); #define NETDEV_ANALOG_CALLBACK_MEMBER(_name) \ diff --git a/src/emu/machine/tms1024.c b/src/emu/machine/tms1024.c index d728f7dfd28..f362349ef16 100644 --- a/src/emu/machine/tms1024.c +++ b/src/emu/machine/tms1024.c @@ -3,10 +3,10 @@ /* Texas Instruments TMS1024/TMS1025 I/O expander - + No documentation was available, just a pinout. Other than more port pins, TMS1025 is assumed to be same as TMS1024. - + TODO: - writes to port 0 - what's the MS pin? @@ -99,13 +99,13 @@ WRITE8_MEMBER(tms1024_device::write_s) WRITE_LINE_MEMBER(tms1024_device::write_std) { state = (state) ? 1 : 0; - + // output on rising edge if (state && !m_std) { if (m_s != 0) (*m_write_port[m_s-1])((offs_t)(m_s-1), m_h); } - + m_std = state; } diff --git a/src/emu/machine/tms1024.h b/src/emu/machine/tms1024.h index e91c0ca5a2d..a7bdb4539bf 100644 --- a/src/emu/machine/tms1024.h +++ b/src/emu/machine/tms1024.h @@ -88,7 +88,7 @@ protected: UINT8 m_h; // 4-bit data latch UINT8 m_s; // 3-bit port select UINT8 m_std; // strobe pin - + // callbacks devcb_write8 m_write_port1, m_write_port2, m_write_port3, m_write_port4, m_write_port5, m_write_port6, m_write_port7; devcb_write8 *m_write_port[7]; |
