diff options
| -rw-r--r-- | sys/boot/pc98/libpc98/vidconsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/libpc98/vidconsole.c b/sys/boot/pc98/libpc98/vidconsole.c index 07c664f31aa8..ae02d9e7bd95 100644 --- a/sys/boot/pc98/libpc98/vidconsole.c +++ b/sys/boot/pc98/libpc98/vidconsole.c @@ -422,7 +422,7 @@ write_char(int c, int fgcol, int bgcol) { #ifdef PC98 - *crtat = (c == 0x5c ? 0xfc : c); + *crtat = (c == 0x5c ? 0xfc : (c & 0xff)); *(crtat + 0x1000) = at2pc98(fgcol, bgcol); #else v86.ctl = 0; |
