mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
popeye: Minor modernization. (nw)
This commit is contained in:
parent
35f1086ba2
commit
6e87489527
@ -231,6 +231,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~brazehs() override = default;
|
||||
virtual void config(machine_config &config) override
|
||||
{
|
||||
T::config(config);
|
||||
@ -277,7 +278,7 @@ protected:
|
||||
|
||||
READ_LINE_MEMBER(tnx1_state::dsw1_read)
|
||||
{
|
||||
return ioport("DSW1")->read() >> m_dswbit;
|
||||
return m_io_dsw1->read() >> m_dswbit;
|
||||
}
|
||||
|
||||
|
||||
|
@ -29,6 +29,7 @@ public:
|
||||
m_color_prom(*this, "proms"),
|
||||
m_color_prom_spr(*this, "sprpal"),
|
||||
m_io_mconf(*this, "MCONF"),
|
||||
m_io_dsw1(*this, "DSW1"),
|
||||
m_background_scroll{0,0,0},
|
||||
m_fg_tilemap(nullptr),
|
||||
m_palette_bank(0),
|
||||
@ -57,6 +58,7 @@ protected:
|
||||
required_region_ptr<uint8_t> m_color_prom;
|
||||
required_region_ptr<uint8_t> m_color_prom_spr;
|
||||
required_ioport m_io_mconf;
|
||||
required_ioport m_io_dsw1;
|
||||
|
||||
static const res_net_decode_info mb7051_decode_info;
|
||||
static const res_net_decode_info mb7052_decode_info;
|
||||
|
Loading…
Reference in New Issue
Block a user