aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/util.h')
-rw-r--r--engines/gob/util.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/gob/util.h b/engines/gob/util.h
index 17c3c09155..1b9b40b72e 100644
--- a/engines/gob/util.h
+++ b/engines/gob/util.h
@@ -88,22 +88,6 @@ public:
static const char trStr2[];
static const char trStr3[];
- inline uint8 readVariableByte(char *address) {
- int16 whichVar = address - _vm->_global->_inter_variables;
- int16 whichVarByte = whichVar % 4;
-
- whichVar >>= 2;
- return ((VAR(whichVar) >> 8 * (3-whichVarByte)) & 0xFF);
- }
- inline void writeVariableByte(char *address, uint8 value) {
- int16 whichVar = address - _vm->_global->_inter_variables;
- int16 whichVarByte = whichVar % 4;
-
- whichVar >>= 2;
- VAR(whichVar) &= ~(0xFF << 8 * (3-whichVarByte));
- VAR(whichVar) |= ((uint32) value) << 8 * (3-whichVarByte);
- }
-
Util(GobEngine *vm);
protected: