From a90981be5f678b5e6339ddb13586449748cda41b Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 6 Mar 2025 01:35:43 +1100 Subject: [PATCH] snk/snk.cpp: Fix build; igs/igs_m027.cpp: Added note about tct2p inputs. --- src/mame/igs/igs_m027.cpp | 1 + src/mame/snk/snk.cpp | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/mame/igs/igs_m027.cpp b/src/mame/igs/igs_m027.cpp index 243def19386..6997c01e860 100644 --- a/src/mame/igs/igs_m027.cpp +++ b/src/mame/igs/igs_m027.cpp @@ -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") diff --git a/src/mame/snk/snk.cpp b/src/mame/snk/snk.cpp index c0dd8316843..b9ed04fb0dc 100644 --- a/src/mame/snk/snk.cpp +++ b/src/mame/snk/snk.cpp @@ -1104,14 +1104,14 @@ template 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); }