Skip to content
Snippets Groups Projects
Commit 236064ee authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Properly read extended keys in non-graphics builds.

Fixes SF issue 118
parent 0047b9c3
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4596 passed
...@@ -16356,6 +16356,11 @@ rip_getch(void) ...@@ -16356,6 +16356,11 @@ rip_getch(void)
hold_update = oldhold; hold_update = oldhold;
return ch; return ch;
#else #else
return getch(); int ch;
ch = getch();
if ((ch == 0) || (ch == 0xe0))
ch |= getch() << 8;
return ch;
#endif #endif
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment