apple/powermacg3.cpp: Fix to follow new Rage GPIO hookups. [R. Belmont]

This commit is contained in:
arbee 2023-05-22 21:59:26 -04:00
parent 3fa50193f6
commit 58895a78c3

View File

@ -46,15 +46,15 @@ public:
required_device<atirage_device> m_atirage;
private:
u32 m_sense;
u16 m_sense;
void pwrmacg3_map(address_map &map);
virtual void machine_start() override;
virtual void machine_reset() override;
u32 read_sense();
void write_sense(u32 data);
u16 read_sense();
void write_sense(u16 data);
WRITE_LINE_MEMBER(cuda_reset_w)
{
@ -127,13 +127,13 @@ void pwrmacg3_state::pwrmacg3_map(address_map &map)
map.unmap_value_high();
}
u32 pwrmacg3_state::read_sense()
u16 pwrmacg3_state::read_sense()
{
// ID as a 640x480 13" for now
return (m_sense & 0xffff00ff) | (6 << 8);
return (6 << 8);
}
void pwrmacg3_state::write_sense(u32 data)
void pwrmacg3_state::write_sense(u16 data)
{
m_sense = data;
}