diff options
author | Max Horn | 2009-10-20 11:13:42 +0000 |
---|---|---|
committer | Max Horn | 2009-10-20 11:13:42 +0000 |
commit | 3a1495f2476d72ede060f63d3c6877b046b55980 (patch) | |
tree | be37bd1e768ac23c4267fc126dd0345bbdad19b4 | |
parent | 3fe7363d40f9ec87aedf126497f85ae3b88d25cc (diff) | |
download | scummvm-rg350-3a1495f2476d72ede060f63d3c6877b046b55980.tar.gz scummvm-rg350-3a1495f2476d72ede060f63d3c6877b046b55980.tar.bz2 scummvm-rg350-3a1495f2476d72ede060f63d3c6877b046b55980.zip |
AGI: Make scancodeTable const
svn-id: r45261
-rw-r--r-- | engines/agi/keyboard.cpp | 2 | ||||
-rw-r--r-- | engines/agi/keyboard.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index 6f73062816..ea384f3418 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -38,7 +38,7 @@ namespace Agi { // // IBM-PC keyboard scancodes // -uint8 scancodeTable[26] = { +const uint8 scancodeTable[26] = { 30, // A 48, // B 46, // C diff --git a/engines/agi/keyboard.h b/engines/agi/keyboard.h index bc1706b280..c4dadb5836 100644 --- a/engines/agi/keyboard.h +++ b/engines/agi/keyboard.h @@ -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 |