[Scummvm-cvs-logs] SF.net SVN: scummvm: [21304] scummvm/trunk/engines/kyra/sound_adlib.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Mar 14 15:41:01 CET 2006
Revision: 21304
Author: eriktorbjorn
Date: 2006-03-14 15:39:42 -0800 (Tue, 14 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21304&view=rev
Log Message:
-----------
Cleanup.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_adlib.cpp
Modified: scummvm/trunk/engines/kyra/sound_adlib.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_adlib.cpp 2006-03-14 23:29:29 UTC (rev 21303)
+++ scummvm/trunk/engines/kyra/sound_adlib.cpp 2006-03-14 23:39:42 UTC (rev 21304)
@@ -1649,16 +1649,10 @@
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.
+ // The original only wrote to the data port here, but that shouldn't
+ // make any real difference.
- OPLWrite(_adlib, 0x389, value);
-
- for (int i = 0; i < 23; i++)
- OPLRead(_adlib, 0x388);
-
+ writeOPL(0xBD, value);
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list