snk/snk.cpp: Fix build; igs/igs_m027.cpp: Added note about tct2p inputs.

This commit is contained in:
Vas Crabb 2025-03-06 01:35:43 +11:00
parent f61f83c1df
commit a90981be5f
2 changed files with 9 additions and 8 deletions

View File

@ -749,6 +749,7 @@ INPUT_PORTS_START( jking02 )
INPUT_PORTS_END
INPUT_PORTS_START( tct2p )
// uses the kan/pon/chi/reach/ron buttons as the main controls in mahjong panel mode
IGS_MAHJONG_MATRIX_CONDITIONAL("DSW2", 0x01, 0x00)
PORT_START("PORTB")

View File

@ -1104,14 +1104,14 @@ template <bool Small, unsigned Num>
uint8_t bermudat_state::turbofront_check8()
{
return
(turbofront_check(Small, (num * 8) + 0) << 0) |
(turbofront_check(Small, (num * 8) + 1) << 1) |
(turbofront_check(Small, (num * 8) + 2) << 2) |
(turbofront_check(Small, (num * 8) + 3) << 3) |
(turbofront_check(Small, (num * 8) + 4) << 4) |
(turbofront_check(Small, (num * 8) + 5) << 5) |
(turbofront_check(Small, (num * 8) + 6) << 6) |
(turbofront_check(Small, (num * 8) + 7) << 7);
(turbofront_check(Small, (Num * 8) + 0) << 0) |
(turbofront_check(Small, (Num * 8) + 1) << 1) |
(turbofront_check(Small, (Num * 8) + 2) << 2) |
(turbofront_check(Small, (Num * 8) + 3) << 3) |
(turbofront_check(Small, (Num * 8) + 4) << 4) |
(turbofront_check(Small, (Num * 8) + 5) << 5) |
(turbofront_check(Small, (Num * 8) + 6) << 6) |
(turbofront_check(Small, (Num * 8) + 7) << 7);
}