mirror of
https://github.com/holub/mame
synced 2025-05-07 14:54:35 +03:00
amerihok: Update layout; add missing save_item call (nw)
This commit is contained in:
parent
d684b0d0f3
commit
f86c3204dd
@ -86,7 +86,10 @@ void amerihok_state::p2_w(u8 data)
|
||||
m_digits[3] = bitswap<7>(m_outputs[0], 8, 11, 12, 13, 9, 7, 10);
|
||||
m_digits[4] = bitswap<7>(m_outputs[1], 5, 1, 2, 7, 6, 3, 0);
|
||||
m_digits[5] = bitswap<7>(m_outputs[1], 28, 27, 23, 22, 21, 24, 26);
|
||||
//m_colon = bitswap<2>(m_outputs[0], 17, 16);
|
||||
|
||||
// These outputs are inactive during gameplay
|
||||
//m_dots[0] = BIT(m_outputs[0], 16);
|
||||
//m_dots[1] = BIT(m_outputs[0], 17);
|
||||
|
||||
//logerror("Outputs = %08X%08X\n", m_outputs[1], m_outputs[0]);
|
||||
}
|
||||
@ -140,12 +143,13 @@ INPUT_PORTS_END
|
||||
void amerihok_state::machine_start()
|
||||
{
|
||||
m_digits.resolve();
|
||||
//m_colon.resolve();
|
||||
m_lamp.resolve();
|
||||
|
||||
std::fill(std::begin(m_outputs), std::end(m_outputs), 0);
|
||||
m_old_p2 = 0xff;
|
||||
|
||||
save_item(NAME(m_outputs));
|
||||
save_item(NAME(m_old_p2));
|
||||
}
|
||||
|
||||
void amerihok_state::machine_reset()
|
||||
|
@ -22,7 +22,7 @@
|
||||
</bezel>
|
||||
|
||||
<bezel name="digit0" element="digit">
|
||||
<bounds x="10" y="10" width="50" height="80" />
|
||||
<bounds x="10" y="20" width="50" height="80" />
|
||||
</bezel>
|
||||
<bezel name="digit1" element="digit">
|
||||
<bounds x="70" y="20" width="25" height="40" />
|
||||
@ -37,14 +37,14 @@
|
||||
<bounds x="165" y="20" width="25" height="40" />
|
||||
</bezel>
|
||||
<bezel name="digit5" element="digit">
|
||||
<bounds x="200" y="10" width="50" height="80" />
|
||||
<bounds x="200" y="20" width="50" height="80" />
|
||||
</bezel>
|
||||
|
||||
<bezel name="lamp" element="disk">
|
||||
<bounds x="125" y="90" width="10" height="10" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="label_left"><bounds x="20" y="95" width="30" height="10" /></bezel>
|
||||
<bezel element="label_right"><bounds x="210" y="95" width="30" height="10" /></bezel>
|
||||
<bezel element="label_left"><bounds x="20" y="5" width="30" height="10" /></bezel>
|
||||
<bezel element="label_right"><bounds x="210" y="5" width="30" height="10" /></bezel>
|
||||
</view>
|
||||
</mamelayout>
|
||||
|
Loading…
Reference in New Issue
Block a user