Fix Host key (F11, F12) handling in Codepage 932 (Japanese Shift-JIS)

This commit is contained in:
maron2000 2025-03-20 19:01:54 +09:00
parent 4d7257dc15
commit aae0380502

View File

@ -1064,6 +1064,7 @@ void DOS_Shell::InputCommand(char * line) {
&& dbcs_sbcs
#endif
&& IS_DOS_JAPANESE)) {
if(dos.loaded_codepage == 932 && isKanji1(cr >> 8) && (cr & 0xFF) == 0) break;
bool kanji_flag = false;
uint16_t pos = str_index;
while(1) {