vtech/vsmile.cpp: Corrected On and Off button I/O port bits. (#10796)

This commit is contained in:
KanedaFr 2023-01-13 19:03:36 +01:00 committed by GitHub
parent 7cb1dcf1c1
commit bbc1c7b423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,8 +250,8 @@ static INPUT_PORTS_START( vsmile )
PORT_BIT( 0xe0, 0x00, IPT_UNUSED )
PORT_START("SYSTEM")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POWER_OFF )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POWER_ON )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POWER_OFF )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POWER_ON )
PORT_CONFNAME( 0x08, 0x08, "Restart")
PORT_CONFSETTING( 0x08, DEF_STR(Off) )
PORT_CONFSETTING( 0x00, DEF_STR(On) )
@ -278,8 +278,8 @@ static INPUT_PORTS_START( vsmilem )
PORT_BIT( 0xe0, 0x00, IPT_UNUSED )
PORT_START("SYSTEM")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POWER_ON )
PORT_BIT( 0x7F, 0x00, IPT_UNUSED )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POWER_ON )
PORT_BIT( 0xbf, 0x00, IPT_UNUSED )
INPUT_PORTS_END
/************************************