mirror of
https://github.com/holub/mame
synced 2025-10-09 09:44:40 +03:00
ioports and output finders need initializing with an unsigned value, not an implcitly signed value. Fixes build on GCC.
This commit is contained in:
parent
cc97ea4213
commit
6c6732e8cf
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
* Part No Layout
|
* Part No Layout
|
||||||
* 1391401 US English 101-key
|
* 1391401 US English 101-key
|
||||||
*
|
*
|
||||||
* TODO
|
* TODO
|
||||||
* - matrix and mcu ports (skeleton only)
|
* - matrix and mcu ports (skeleton only)
|
||||||
*/
|
*/
|
||||||
@ -25,10 +25,10 @@ DEFINE_DEVICE_TYPE(PC_KBD_IBM_PC_AT_101, ibm_pc_at_101_keyboard_device, "kb_pcat
|
|||||||
ROM_START(ibm_pc_at_101_keyboard)
|
ROM_START(ibm_pc_at_101_keyboard)
|
||||||
ROM_REGION(0x1000, "mcu", 0)
|
ROM_REGION(0x1000, "mcu", 0)
|
||||||
/*
|
/*
|
||||||
* PCB
|
* PCB
|
||||||
* 1394792 K27-1
|
* 1394792 K27-1
|
||||||
* EC 528739 4989
|
* EC 528739 4989
|
||||||
*
|
*
|
||||||
* MCU
|
* MCU
|
||||||
* ST (C)IBM 1984
|
* ST (C)IBM 1984
|
||||||
* C430 28940
|
* C430 28940
|
||||||
@ -223,8 +223,8 @@ ibm_pc_at_101_keyboard_device::ibm_pc_at_101_keyboard_device(const machine_confi
|
|||||||
: device_t(mconfig, PC_KBD_IBM_PC_AT_101, tag, owner, clock)
|
: device_t(mconfig, PC_KBD_IBM_PC_AT_101, tag, owner, clock)
|
||||||
, device_pc_kbd_interface(mconfig, *this)
|
, device_pc_kbd_interface(mconfig, *this)
|
||||||
, m_maincpu(*this, "mcu")
|
, m_maincpu(*this, "mcu")
|
||||||
, m_column(*this, "column%02u", 0)
|
, m_column(*this, "column%02u", 0U)
|
||||||
, m_leds(*this, "led%u", 0)
|
, m_leds(*this, "led%u", 0U)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user