Skip to content

Commit

Permalink
8086: fix key handling
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
cosmo-ray committed Jul 21, 2024
1 parent b3d5218 commit 9e4c810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/8086-emu/asm.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ void *call_asm(int nbArgs, void **args)
events = ywidGenericPollEvent();

regs.al = 0;
result = 0;
if (ywidEveType(events) == YKEY_DOWN) {
result = ywidEveKey(events);
if (regs.ah) {
Expand Down

0 comments on commit 9e4c810

Please sign in to comment.