Skip to content

Commit

Permalink
roland_gp.h: clean up indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
happppp committed Jul 25, 2024
1 parent d3fde22 commit d1f1899
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
24 changes: 12 additions & 12 deletions src/devices/sound/roland_gp.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,25 @@ class tc6116_device : public device_t, public device_sound_interface, public dev
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;
Expand All @@ -76,7 +76,7 @@ class tc6116_device : public device_t, public device_sound_interface, public dev
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)
Expand Down
11 changes: 6 additions & 5 deletions src/devices/video/t6963c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
**********************************************************************/

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d1f1899

Please sign in to comment.