From 66e2b9bc1bd9bf20704033bee0a97ef9b591e5a1 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 19 Dec 2020 16:08:21 +0100 Subject: [PATCH] Uninverted Num Lock on Amstrad PC1512 and PC1640. --- src/machine/m_amstrad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/m_amstrad.c b/src/machine/m_amstrad.c index 44904c0c8..48a97ad41 100644 --- a/src/machine/m_amstrad.c +++ b/src/machine/m_amstrad.c @@ -2499,7 +2499,7 @@ machine_amstrad_init(const machine_t *model, int type) keyboard_set_table(scancode_xt); keyboard_send = kbd_adddata_ex; keyboard_scan = 1; - keyboard_set_is_amstrad(1); + keyboard_set_is_amstrad(((type == AMS_PC1512) || (type == AMS_PC1640)) ? 0 : 1); io_sethandler(0x0078, 2, ms_read, NULL, NULL, ms_write, NULL, NULL, ams);