diff options
Diffstat (limited to 'src/mame/drivers/rmt32.cpp')
-rw-r--r-- | src/mame/drivers/rmt32.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/rmt32.cpp b/src/mame/drivers/rmt32.cpp index 60116d4324e..192d4f32fa4 100644 --- a/src/mame/drivers/rmt32.cpp +++ b/src/mame/drivers/rmt32.cpp @@ -200,7 +200,7 @@ public: virtual void machine_reset() override; DECLARE_PALETTE_INIT(mt32); - UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); DECLARE_WRITE8_MEMBER(bank_w); DECLARE_WRITE8_MEMBER(so_w); @@ -215,11 +215,11 @@ public: TIMER_DEVICE_CALLBACK_MEMBER(samples_timer_cb); private: - UINT8 lcd_data_buffer[256]; + uint8_t lcd_data_buffer[256]; int lcd_data_buffer_pos; - UINT8 midi; + uint8_t midi; int midi_pos; - UINT8 port0; + uint8_t port0; required_device<cpu_device> m_maincpu; }; @@ -234,13 +234,13 @@ mt32_state::mt32_state(const machine_config &mconfig, device_type type, const ch } -UINT32 mt32_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t mt32_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { bitmap.fill(0); - const UINT8 *data = lcd->render(); + const uint8_t *data = lcd->render(); for(int c=0; c<20; c++) for(int y=0; y<8; y++) { - UINT8 v = data[c*8+y]; + uint8_t v = data[c*8+y]; for(int x=0; x<5; x++) bitmap.pix16(y == 7 ? 8 : y, c*6+x) = v & (0x10 >> x) ? 1 : 0; } @@ -294,7 +294,7 @@ WRITE16_MEMBER(mt32_state::midi_w) TIMER_DEVICE_CALLBACK_MEMBER(mt32_state::midi_timer_cb) { - const static UINT8 midi_data[3] = { 0x91, 0x40, 0x7f }; + const static uint8_t midi_data[3] = { 0x91, 0x40, 0x7f }; midi = midi_data[midi_pos++]; logerror("midi_in %02x\n", midi); cpu->serial_w(midi); |