diff options
Diffstat (limited to 'engines/gargoyle/frotz/processor_streams.cpp')
-rw-r--r-- | engines/gargoyle/frotz/processor_streams.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/gargoyle/frotz/processor_streams.cpp b/engines/gargoyle/frotz/processor_streams.cpp index 97784c8423..d75819e661 100644 --- a/engines/gargoyle/frotz/processor_streams.cpp +++ b/engines/gargoyle/frotz/processor_streams.cpp @@ -25,12 +25,13 @@ namespace Gargoyle { namespace Frotz { -// TODO: Implement method stubs -static void os_scrollback_char(zchar) {} -static void os_scrollback_erase(zword) {} -static zchar console_read_key(zword) { return 0; } -static zchar console_read_input(uint, zchar *, uint, bool) { return 0; } +zchar Processor::console_read_input(int max, zchar *buf, zword timeout, bool continued) { + return os_read_line(max, buf, timeout, max, continued); +} +zchar Processor::console_read_key(zword timeout) { + return os_read_key(timeout, 0); +} void Processor::scrollback_char(zchar c) { if (c == ZC_INDENT) |