diff options
author | Torbjörn Andersson | 2006-03-01 13:57:32 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-03-01 13:57:32 +0000 |
commit | 8a60a991404420fc67fe850284bb5b1a68ba2c4b (patch) | |
tree | 0ea3f593af6ff3b225f51731859aa9bc332135ab /engines/kyra | |
parent | 9255a7b408ba28c1689c7beaaf48fbcbf2119a44 (diff) | |
download | scummvm-rg350-8a60a991404420fc67fe850284bb5b1a68ba2c4b.tar.gz scummvm-rg350-8a60a991404420fc67fe850284bb5b1a68ba2c4b.tar.bz2 scummvm-rg350-8a60a991404420fc67fe850284bb5b1a68ba2c4b.zip |
Fixed updateCallback11() according to LordHoto's directions, and renamed it
update_writeAdlib(). (The "update_" prefix will probably be changed later, but
for now I want it to remain obvious that the functions belong to the other
updateCallback*() functions.)
svn-id: r20990
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sound_adlib.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp index d99decf8d3..e081b4d9c7 100644 --- a/engines/kyra/sound_adlib.cpp +++ b/engines/kyra/sound_adlib.cpp @@ -195,7 +195,7 @@ private: int updateCallback8(uint8 *&dataptr, OutputState &state, uint8 value); int updateCallback9(uint8 *&dataptr, OutputState &state, uint8 value); int updateCallback10(uint8 *&dataptr, OutputState &state, uint8 value); - int updateCallback11(uint8 *&dataptr, OutputState &state, uint8 value); + int update_writeAdlib(uint8 *&dataptr, OutputState &state, uint8 value); int updateCallback12(uint8 *&dataptr, OutputState &state, uint8 value); int updateCallback13(uint8 *&dataptr, OutputState &state, uint8 value); int updateCallback14(uint8 *&dataptr, OutputState &state, uint8 value); @@ -1017,8 +1017,8 @@ int AdlibDriver::updateCallback10(uint8 *&dataptr, OutputState &state, uint8 val return (_continueFlag != 0); } -int AdlibDriver::updateCallback11(uint8 *&dataptr, OutputState &state, uint8 value) { - output0x388(*dataptr++); +int AdlibDriver::update_writeAdlib(uint8 *&dataptr, OutputState &state, uint8 value) { + output0x388((value << 8) || *dataptr++); return 0; } @@ -1685,7 +1685,7 @@ const AdlibDriver::ParserOpcode AdlibDriver::_parserOpcodeTable[] = { // 8 COMMAND(updateCallback9), COMMAND(updateCallback10), - COMMAND(updateCallback11), + COMMAND(update_writeAdlib), COMMAND(updateCallback12), // 12 |