yamaha: remove unused adc methods

This commit is contained in:
Olivier Galibert 2023-06-08 11:34:58 +02:00
parent ce096711c1
commit 8f3716ad43
4 changed files with 0 additions and 42 deletions

View File

@ -280,7 +280,6 @@ private:
u8 cur_p1, cur_p2, cur_p3, cur_p5, cur_p6, cur_pa, cur_pb, cur_pc, cur_pf, cur_pg; u8 cur_p1, cur_p2, cur_p3, cur_p5, cur_p6, cur_pa, cur_pb, cur_pc, cur_pf, cur_pg;
u8 cur_ic32; u8 cur_ic32;
u16 adc_zero_r();
u16 adc_ar_r(); u16 adc_ar_r();
u16 adc_al_r(); u16 adc_al_r();
u16 adc_midisw_r(); u16 adc_midisw_r();
@ -534,12 +533,6 @@ void mu100_state::mu100_map(address_map &map)
map(0x400000, 0x401fff).m(m_swp30, FUNC(swp30_device::map)); map(0x400000, 0x401fff).m(m_swp30, FUNC(swp30_device::map));
} }
// Grounded adc input
u16 mu100_state::adc_zero_r()
{
return 0;
}
// Analog input right (also sent to the swp) // Analog input right (also sent to the swp)
u16 mu100_state::adc_ar_r() u16 mu100_state::adc_ar_r()
{ {

View File

@ -79,7 +79,6 @@ private:
u8 cur_p6, cur_pa, cur_pb, cur_pc; u8 cur_p6, cur_pa, cur_pb, cur_pc;
[[maybe_unused]] u16 adc_zero_r();
u16 adc_ar_r(); u16 adc_ar_r();
u16 adc_al_r(); u16 adc_al_r();
u16 adc_midisw_r(); u16 adc_midisw_r();
@ -111,12 +110,6 @@ void mu50_state::mu50_map(address_map &map)
map(0x400000, 0x400fff).m(m_swp00, FUNC(swp00_device::map)).umask16(0xff00); map(0x400000, 0x400fff).m(m_swp00, FUNC(swp00_device::map)).umask16(0xff00);
} }
// Grounded adc input
u16 mu50_state::adc_zero_r()
{
return 0;
}
// Analog input right (not sent to the swp) // Analog input right (not sent to the swp)
u16 mu50_state::adc_ar_r() u16 mu50_state::adc_ar_r()
{ {

View File

@ -200,7 +200,6 @@ private:
u8 cur_p6, cur_pa, cur_pb, cur_ic32; u8 cur_p6, cur_pa, cur_pb, cur_ic32;
u16 adc_zero_r();
u16 adc_ar_r(); u16 adc_ar_r();
u16 adc_al_r(); u16 adc_al_r();
u16 adc_midisw_r(); u16 adc_midisw_r();
@ -231,12 +230,6 @@ void mu80_state::mu80_map(address_map &map)
map(0x460000, 0x46003f).m(m_swp20_1, FUNC(swp20_device::map)); map(0x460000, 0x46003f).m(m_swp20_1, FUNC(swp20_device::map));
} }
// Grounded adc input
u16 mu80_state::adc_zero_r()
{
return 0;
}
// Analog input right (also sent to the swp) // Analog input right (also sent to the swp)
u16 mu80_state::adc_ar_r() u16 mu80_state::adc_ar_r()
{ {

View File

@ -88,9 +88,6 @@ private:
u8 cur_p1, cur_p2, cur_p3, cur_p5, cur_p6, cur_pa, cur_pc, cur_pf, cur_pg; u8 cur_p1, cur_p2, cur_p3, cur_p5, cur_p6, cur_pa, cur_pc, cur_pf, cur_pg;
u8 cur_ic32; u8 cur_ic32;
u16 adc_zero_r();
[[maybe_unused]] u16 adc_ar_r();
[[maybe_unused]] u16 adc_al_r();
u16 adc_midisw_r(); u16 adc_midisw_r();
u16 adc_battery_r(); u16 adc_battery_r();
u16 adc_breath_r(); u16 adc_breath_r();
@ -120,24 +117,6 @@ void vl70_state::vl70_map(address_map &map)
map(0x600000, 0x60001f).m(m_meg, FUNC(meg_device::map)); map(0x600000, 0x60001f).m(m_meg, FUNC(meg_device::map));
} }
// Grounded adc input
u16 vl70_state::adc_zero_r()
{
return 0;
}
// Analog input right (also sent to the swp)
u16 vl70_state::adc_ar_r()
{
return 0;
}
// Analog input left (also sent to the swp)
u16 vl70_state::adc_al_r()
{
return 0;
}
// Put the host switch to pure midi // Put the host switch to pure midi
u16 vl70_state::adc_midisw_r() u16 vl70_state::adc_midisw_r()
{ {