diff options
author | sylvaintv | 2012-04-22 23:54:45 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
commit | 8bc2d28e5d23fc7bc2da1c4932fb5e6123413f6b (patch) | |
tree | 1e6cd585e9a79543dc2ae4e6488d4ea217fe379a /engines/lilliput/lilliput.cpp | |
parent | c304967abc2a0a79f7c35f6003b4ecec72c4bf6c (diff) | |
download | scummvm-rg350-8bc2d28e5d23fc7bc2da1c4932fb5e6123413f6b.tar.gz scummvm-rg350-8bc2d28e5d23fc7bc2da1c4932fb5e6123413f6b.tar.bz2 scummvm-rg350-8bc2d28e5d23fc7bc2da1c4932fb5e6123413f6b.zip |
LILLIPUT: Small additions
Small implementations of the int8 functions
Diffstat (limited to 'engines/lilliput/lilliput.cpp')
-rw-r--r-- | engines/lilliput/lilliput.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp index 8d8091af5f..1fd207c4e1 100644 --- a/engines/lilliput/lilliput.cpp +++ b/engines/lilliput/lilliput.cpp @@ -1033,7 +1033,7 @@ void LilliputEngine::sub16626() { result = sub16675(index, var1); break; case 1: - warning("result = sub_166DD"); + result = sub166DD(index, var1); break; case 2: case 3: @@ -1043,7 +1043,7 @@ void LilliputEngine::sub16626() { case 7: case 8: case 9: - warning("result = sub_16672"); + result = 0; break; case 10: warning("result = sub_1675D"); @@ -1078,6 +1078,13 @@ void LilliputEngine::sub16626() { } } +int LilliputEngine::sub166DD(int index, int var1) { + + _rulesBuffer2_9[index] = (var1 >> 8) & 3; + sub16685(index, var1 & 0xFF); + return 0; +} + void LilliputEngine::sub16EBC() { debugC(2, kDebugEngine, "sub16EBC()"); |