Increase size of keyboard and mouse buffer

This commit is contained in:
copy 2015-09-15 20:10:24 +02:00
parent 91e1bca5af
commit 9191da081a

View file

@ -55,7 +55,7 @@ function PS2(cpu, bus)
/**
* @type {ByteQueue}
*/
this.kbd_buffer = new ByteQueue(32);
this.kbd_buffer = new ByteQueue(1024);
this.last_port60_byte = 0;
@ -74,7 +74,7 @@ function PS2(cpu, bus)
/**
* @type {ByteQueue}
*/
this.mouse_buffer = new ByteQueue(32);
this.mouse_buffer = new ByteQueue(1024);
this.bus.register("keyboard-code", function(code)