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

Handle the new value of CIO_KEY_QUIT better.

The low byte is no longer zero.
parent 64b754a3
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1054,7 +1054,7 @@ static void transfer_complete(BOOL success)
lprintf(LOG_NOTICE,"Hit any key or wait %u seconds to continue...", timeout);
while(timeout > 0) {
if (kbhit()) {
if(getch()==0 && getch()<<8 == CIO_KEY_QUIT)
if(getch()==(CIO_KEY_QUIT & 0xff) && (getch()<<8) == (CIO_KEY_QUIT & 0xff00))
check_exit(FALSE);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment