From d1f1899b7ee608f2ae17439835165bb6df6dc630 Mon Sep 17 00:00:00 2001 From: hap Date: Thu, 25 Jul 2024 10:45:25 +0200 Subject: roland_gp.h: clean up indentation --- src/devices/sound/roland_gp.h | 24 ++++++++++++------------ src/devices/video/t6963c.cpp | 11 ++++++----- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/devices/sound/roland_gp.h b/src/devices/sound/roland_gp.h index 70f22085bed..0d0bf3a9a91 100644 --- a/src/devices/sound/roland_gp.h +++ b/src/devices/sound/roland_gp.h @@ -49,25 +49,25 @@ private: uint8_t cutoff; uint8_t cutoff_speed; - bool irq_enable; // 0 - bool filter_mode; // 1 (0:lpf, 1:hpf) - uint8_t resonance_flags; // 8-15 + bool irq_enable; // 0 + bool filter_mode; // 1 (0:lpf, 1:hpf) + uint8_t resonance_flags; // 8-15 - uint8_t sub_phase_addr; // 0-4 + uint8_t sub_phase_addr; // 0-4 bool key; // 5 bool alt_loop; // 6 bool reverse_play; // 7 - uint8_t hiaddr; // 8-11 - uint8_t nibble; // 2-15 - + uint8_t hiaddr; // 8-11 + uint8_t nibble; // 2-15 + // work variables - uint16_t sub_phase_state; // 0-13 + uint16_t sub_phase_state; // 0-13 bool irq_disable; // 14 bool alt_loop_state; // 15 - uint16_t volume1_tv; - uint16_t volume2_tv; - uint16_t cutoff_tv; + uint16_t volume1_tv; + uint16_t volume2_tv; + uint16_t cutoff_tv; }; devcb_write_line m_int_callback; @@ -76,7 +76,7 @@ private: uint32_t m_rate; // sample rate (usually 32000 Hz) sound_stream* m_stream; // stream handle pcm_channel m_chns[NUM_CHANNELS]; // channel memory - [[maybe_unused]] uint8_t m_sel_chn; // selected channel + [[maybe_unused]] uint8_t m_sel_chn; // selected channel }; DECLARE_DEVICE_TYPE(TC6116, tc6116_device) diff --git a/src/devices/video/t6963c.cpp b/src/devices/video/t6963c.cpp index a2e254809c7..4a4b624a48b 100644 --- a/src/devices/video/t6963c.cpp +++ b/src/devices/video/t6963c.cpp @@ -5,11 +5,11 @@ Toshiba T6963C Dot Matrix LCD Controller Sharp LM24014H Dot Matrix LCD Unit - TODO: - - cursor - - screen peek - - screen copy - - auto read mode + TODO: + - cursor + - screen peek + - screen copy + - auto read mode **********************************************************************/ @@ -259,6 +259,7 @@ void t6963c_device::do_command(u8 cmd) : (cmd & 0x0e) == 0x02 ? "decrement" : (cmd & 0x0e) == 0x04 ? "nonvariable" : "invalid"); + m_read_data = m_display_ram->read_byte(m_adp); } else -- cgit v1.2.3