From 3a1495f2476d72ede060f63d3c6877b046b55980 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 20 Oct 2009 11:13:42 +0000 Subject: AGI: Make scancodeTable const svn-id: r45261 --- engines/agi/keyboard.cpp | 2 +- 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 -- cgit v1.2.3