aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/computer.cpp6
-rw-r--r--engines/hopkins/events.h5
2 files changed, 3 insertions, 8 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp
index 4f0fc1b5ec..31f3af6162 100644
--- a/engines/hopkins/computer.cpp
+++ b/engines/hopkins/computer.cpp
@@ -110,7 +110,7 @@ void ComputerManager::COMPUT_HOPKINS(ComputerEnum mode) {
char *v9;
int v10;
char v11;
- int v12;
+ char v12;
char s[12];
const char *s2;
@@ -241,7 +241,7 @@ void ComputerManager::COMPUT_HOPKINS(ComputerEnum mode) {
if (v12 == 48)
break;
- if (v12 == 49) {
+ if (v12 == '1') {
GAMES();
} else if (mode == COMPUTER_HOPKINS) {
_vm->_eventsManager.videkey();
@@ -567,7 +567,7 @@ void ComputerManager::LIT_TEXTE(int a1) {
} while (v4 != 37);
_vm->_eventsManager.videkey();
- _vm->_eventsManager.wingetch();
+ _vm->_eventsManager.keywin();
_vm->_globals.dos_free2(ptr);
}
diff --git a/engines/hopkins/events.h b/engines/hopkins/events.h
index 24f71c1a97..94ce87f8a1 100644
--- a/engines/hopkins/events.h
+++ b/engines/hopkins/events.h
@@ -108,11 +108,6 @@ public:
* Unused by engine
*/
void CASSE_SOURIS_OFF() { }
-
- void wingetch() {
- // TODO
- warning("TODO: wingetch");
- }
};
} // End of namespace Hopkins