From 8f3716ad43b45fbef9cb35e20bc84c078a727c60 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 8 Jun 2023 11:34:58 +0200 Subject: yamaha: remove unused adc methods --- src/mame/yamaha/ymmu100.cpp | 7 ------- src/mame/yamaha/ymmu50.cpp | 7 ------- src/mame/yamaha/ymmu80.cpp | 7 ------- src/mame/yamaha/ymvl70.cpp | 21 --------------------- 4 files changed, 42 deletions(-) diff --git a/src/mame/yamaha/ymmu100.cpp b/src/mame/yamaha/ymmu100.cpp index e71930700f0..dab8d64dfe1 100644 --- a/src/mame/yamaha/ymmu100.cpp +++ b/src/mame/yamaha/ymmu100.cpp @@ -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_ic32; - u16 adc_zero_r(); u16 adc_ar_r(); u16 adc_al_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)); } -// Grounded adc input -u16 mu100_state::adc_zero_r() -{ - return 0; -} - // Analog input right (also sent to the swp) u16 mu100_state::adc_ar_r() { diff --git a/src/mame/yamaha/ymmu50.cpp b/src/mame/yamaha/ymmu50.cpp index 0f5541143fc..1b88f6e0d0c 100644 --- a/src/mame/yamaha/ymmu50.cpp +++ b/src/mame/yamaha/ymmu50.cpp @@ -79,7 +79,6 @@ private: u8 cur_p6, cur_pa, cur_pb, cur_pc; - [[maybe_unused]] u16 adc_zero_r(); u16 adc_ar_r(); u16 adc_al_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); } -// Grounded adc input -u16 mu50_state::adc_zero_r() -{ - return 0; -} - // Analog input right (not sent to the swp) u16 mu50_state::adc_ar_r() { diff --git a/src/mame/yamaha/ymmu80.cpp b/src/mame/yamaha/ymmu80.cpp index c3c22e64d0c..3f8d89ca4f1 100644 --- a/src/mame/yamaha/ymmu80.cpp +++ b/src/mame/yamaha/ymmu80.cpp @@ -200,7 +200,6 @@ private: u8 cur_p6, cur_pa, cur_pb, cur_ic32; - u16 adc_zero_r(); u16 adc_ar_r(); u16 adc_al_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)); } -// Grounded adc input -u16 mu80_state::adc_zero_r() -{ - return 0; -} - // Analog input right (also sent to the swp) u16 mu80_state::adc_ar_r() { diff --git a/src/mame/yamaha/ymvl70.cpp b/src/mame/yamaha/ymvl70.cpp index 7bb8f5399b4..555cc56c950 100644 --- a/src/mame/yamaha/ymvl70.cpp +++ b/src/mame/yamaha/ymvl70.cpp @@ -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_ic32; - u16 adc_zero_r(); - [[maybe_unused]] u16 adc_ar_r(); - [[maybe_unused]] u16 adc_al_r(); u16 adc_midisw_r(); u16 adc_battery_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)); } -// 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 u16 vl70_state::adc_midisw_r() { -- cgit v1.2.3