roland_gp.h: clean up indentation

This commit is contained in:
hap 2024-07-25 10:45:25 +02:00
parent d3fde22864
commit d1f1899b7e
2 changed files with 18 additions and 17 deletions

View File

@ -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)

View File

@ -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