Consistency

This commit is contained in:
copy 2015-01-09 15:55:16 +01:00
parent 0f433fa0a4
commit 7fdabe3e38

View file

@ -13,7 +13,11 @@ function KeyboardAdapter(bus)
keyboard = this;
this.enabled = true;
/**
* Set by emulator
* @type {boolean}
*/
this.emu_enabled = true;
/**
* Format:
@ -124,7 +128,7 @@ function KeyboardAdapter(bus)
return false;
}
if(!keyboard.enabled)
if(!keyboard.emu_enabled)
{
return false;
}