Revision 289e09e7
b/hw/pckbd.c | ||
---|---|---|
290 | 290 |
KBDQueue *q; |
291 | 291 |
int val, index; |
292 | 292 |
|
293 |
q = &s->queues[0]; /* first check KBD data */
|
|
293 |
q = &s->queues[1]; /* first check AUX data */
|
|
294 | 294 |
if (q->count == 0) |
295 |
q = &s->queues[1]; /* then check AUX data */
|
|
295 |
q = &s->queues[0]; /* then check KBD data */
|
|
296 | 296 |
if (q->count == 0) { |
297 | 297 |
/* NOTE: if no data left, we return the last keyboard one |
298 | 298 |
(needed for EMM386) */ |
Also available in: Unified diff