From 1f603fdd98959f189f10073bff1d8f83f72eac6b Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 14 Mar 2006 23:39:42 +0000 Subject: Cleanup. svn-id: r21304 --- engines/kyra/sound_adlib.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'engines') diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp index 586326e9d0..f49c16598c 100644 --- a/engines/kyra/sound_adlib.cpp +++ b/engines/kyra/sound_adlib.cpp @@ -1649,16 +1649,10 @@ int AdlibDriver::updateCallback49(uint8 *&dataptr, Channel &channel, uint8 value value |= _unkOutputByte2; value |= 0x20; - // FIXME: This could probably be replaced with writeOPL(0xBD, value), - // but to make it easier to compare the output to DOSbox, write - // directly to the data port and do the probably unnecessary - // delay loop. - - OPLWrite(_adlib, 0x389, value); - - for (int i = 0; i < 23; i++) - OPLRead(_adlib, 0x388); + // The original only wrote to the data port here, but that shouldn't + // make any real difference. + writeOPL(0xBD, value); return 0; } -- cgit v1.2.3