aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/systemui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/systemui.cpp')
-rw-r--r--engines/agi/systemui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/systemui.cpp b/engines/agi/systemui.cpp
index ee0a450767..aa1b2e4127 100644
--- a/engines/agi/systemui.cpp
+++ b/engines/agi/systemui.cpp
@@ -295,13 +295,13 @@ int16 SystemUI::askForSavedGameSlot(const char *slotListText) {
return _savedGameSelectedSlotNr;
}
-void SystemUI::savedGameSlot_CharPress(int16 newChar) {
+void SystemUI::savedGameSlot_KeyPress(uint16 newKey) {
int16 slotCount = _savedGameArray.size();
int16 newUpmostSlotNr = _savedGameUpmostSlotNr;
int16 newSelectedSlotNr = _savedGameSelectedSlotNr;
bool slotsScrolled = false;
- switch (newChar) {
+ switch (newKey) {
case AGI_KEY_ENTER:
_vm->cycleInnerLoopInactive(); // exit savedGameSlot-loop
return;