aboutsummaryrefslogtreecommitdiff
path: root/examples/io
diff options
context:
space:
mode:
Diffstat (limited to 'examples/io')
-rw-r--r--examples/io/system573/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/io/system573/main.c b/examples/io/system573/main.c
index 67a98da..95c3155 100644
--- a/examples/io/system573/main.c
+++ b/examples/io/system573/main.c
@@ -306,7 +306,7 @@ int main(int argc, const char* argv[]) {
FntPrint(-1, " P1 BUTTONS =%07@\n", inputs.p1_btn);
FntPrint(-1, " P2 JOYSTICK =%04@\n", inputs.p2_joy);
FntPrint(-1, " P2 BUTTONS =%07@\n", inputs.p2_btn);
- FntPrint(-1, " COIN/SERVICE=%04@\n", inputs.coin);
+ FntPrint(-1, " COIN/SERVICE=%04@\n", inputs.coin & 0xf);
FntPrint(-1, " DIP SWITCHES=%04@\n", inputs.dip_sw);
FntPrint(-1, "\nCABINET LIGHTS:\n");