AGI: Make scancodeTable const

svn-id: r45261
This commit is contained in:
Max Horn 2009-10-20 11:13:42 +00:00
parent 3fe7363d40
commit 3a1495f247
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ namespace Agi {
//
// IBM-PC keyboard scancodes
//
uint8 scancodeTable[26] = {
const uint8 scancodeTable[26] = {
30, // A
48, // B
46, // C

View File

@ -93,7 +93,7 @@ public:
#define KEY_SCAN(k) (k >> 8)
#define KEY_ASCII(k) (k & 0xff)
extern uint8 scancodeTable[];
extern const uint8 scancodeTable[];
} // End of namespace Agi