aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/frotz/processor_input.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-12 08:19:27 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit1ca59e74c38c397d9631c0779bf102136be83f1d (patch)
treedf59d04c1c6c9dca6ef554325a8e2af5b03d6a9d /engines/gargoyle/frotz/processor_input.cpp
parent1b4791f92328e4dc28e697cd9f12383c7f10b932 (diff)
downloadscummvm-rg350-1ca59e74c38c397d9631c0779bf102136be83f1d.tar.gz
scummvm-rg350-1ca59e74c38c397d9631c0779bf102136be83f1d.tar.bz2
scummvm-rg350-1ca59e74c38c397d9631c0779bf102136be83f1d.zip
GLK: FROTZ: Added storeb & storew into the Mem class
Diffstat (limited to 'engines/gargoyle/frotz/processor_input.cpp')
-rw-r--r--engines/gargoyle/frotz/processor_input.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/engines/gargoyle/frotz/processor_input.cpp b/engines/gargoyle/frotz/processor_input.cpp
index 43f0aaf455..b9c9604183 100644
--- a/engines/gargoyle/frotz/processor_input.cpp
+++ b/engines/gargoyle/frotz/processor_input.cpp
@@ -80,35 +80,6 @@ int Processor::read_number() {
return value;
}
-void Processor::storeb(zword addr, zbyte value) {
- if (addr >= h_dynamic_size)
- runtimeError(ERR_STORE_RANGE);
-
- if (addr == H_FLAGS + 1) { /* flags register is modified */
-
- h_flags &= ~(SCRIPTING_FLAG | FIXED_FONT_FLAG);
- h_flags |= value & (SCRIPTING_FLAG | FIXED_FONT_FLAG);
-
- if (value & SCRIPTING_FLAG) {
- if (!ostream_script)
- script_open();
- } else {
- if (ostream_script)
- script_close();
- }
-
- // TOR - glkified / refresh_text_style ();
- }
-
- SET_BYTE(addr, value);
-
-}
-
-void Processor::storew(zword addr, zword value) {
- storeb((zword)(addr + 0), hi(value));
- storeb((zword)(addr + 1), lo(value));
-}
-
void Processor::z_read() {
zchar buffer[INPUT_BUFFER_SIZE];
zword addr;