mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
AGI: Make scancodeTable const
svn-id: r45261
This commit is contained in:
parent
3fe7363d40
commit
3a1495f247
@ -38,7 +38,7 @@ namespace Agi {
|
||||
//
|
||||
// IBM-PC keyboard scancodes
|
||||
//
|
||||
uint8 scancodeTable[26] = {
|
||||
const uint8 scancodeTable[26] = {
|
||||
30, // A
|
||||
48, // B
|
||||
46, // C
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user