inputmap: fix gcc compile(unused variable) (nw)

This commit is contained in:
hap 2019-05-24 18:27:32 +02:00
parent 0dc863e04e
commit 79cb1da011
2 changed files with 1 additions and 13 deletions

View File

@ -152,7 +152,7 @@ WRITE8_MEMBER(isa8_finalchs_device::finalchs_w)
void isa8_finalchs_device::finalchs_mem(address_map &map)
{
map(0x0000, 0x1fff).ram();
map(0x7f00, 0x7f00).mirror(0x00ff).r(m_sublatch, FUNC(generic_latch_8_device::read)).w(m_mainlatch, FUNC(generic_latch_8_device::write));
//map(0x6000, 0x6000).noprw(); // ?
map(0x7f00, 0x7f00).mirror(0x00ff).r(m_sublatch, FUNC(generic_latch_8_device::read)).w(m_mainlatch, FUNC(generic_latch_8_device::write));
map(0x8000, 0xffff).rom();
}

View File

@ -93,12 +93,6 @@ menu_input_general::menu_input_general(mame_ui_manager &mui, render_container &c
void menu_input_general::populate(float &customtop, float &custombottom)
{
input_item_data *itemlist = nullptr;
int suborder[SEQ_TYPE_TOTAL];
/* create a mini lookup table for sort order based on sequence type */
suborder[SEQ_TYPE_STANDARD] = 0;
suborder[SEQ_TYPE_DECREMENT] = 1;
suborder[SEQ_TYPE_INCREMENT] = 2;
/* iterate over the input ports and add menu items */
for (input_type_entry &entry : machine().ioport().types())
@ -166,14 +160,8 @@ menu_input_specific::menu_input_specific(mame_ui_manager &mui, render_container
void menu_input_specific::populate(float &customtop, float &custombottom)
{
input_item_data *itemlist = nullptr;
int suborder[SEQ_TYPE_TOTAL];
int port_count = 0;
/* create a mini lookup table for sort order based on sequence type */
suborder[SEQ_TYPE_STANDARD] = 0;
suborder[SEQ_TYPE_DECREMENT] = 1;
suborder[SEQ_TYPE_INCREMENT] = 2;
/* iterate over the input ports and add menu items */
for (auto &port : machine().ioport().ports())
{