From ed675ca9cd1c095e9e6287db56cb36552fd03f60 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 21 Aug 2023 20:02:26 +0200 Subject: [PATCH] A fix in device/keyboard_xt.c to fix Toshiba T1x00 keyboard on Dev builds. --- src/device/keyboard_xt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/keyboard_xt.c b/src/device/keyboard_xt.c index a5b5579a6..0f573ea5a 100644 --- a/src/device/keyboard_xt.c +++ b/src/device/keyboard_xt.c @@ -662,7 +662,7 @@ kbd_read(uint16_t port, void *priv) /* LaserXT = Always 512k RAM; LaserXT/3 = Bit 0: set = 512k, clear = 256k. */ #if defined(DEV_BRANCH) && defined(USE_LASERXT) - if (kbd->type == KBD_TYPE_TOSHIBA) + if (kbd->type == KBD_TYPE_VTECH) ret = ((mem_size == 512) ? 0x0d : 0x0c) | (hasfpu ? 0x02 : 0x00); else #endif