[Scummvm-devel] PORTERS: AdLib emulator changes

Johannes Schickel lordhoto at gmail.com
Wed May 6 16:03:08 CEST 2009


Lars Persson wrote:
> I checked the dosbox code and noticed that it supports both dual OPL2 
> emulation and OPL3 emulation. Perhaps lowend devices should be set to 
> only support single OPL2 emulation when testing to be able to get 
> equal comparisions. Btw is each game controlling what emulation mode 
> that should be used or?

All games are using normal OPL2 emulation. The legacy FM OPL access API 
only initializes OPL2 (check sound/fmopl.cpp for that). So it is easily 
comparable, except the fact that you can't switch to MAME OPL on runtime 
currently... :-).

The only engine using Dual OPL2 (or rather OPL3 internally) is SCI 
currently and there it is selectable whether stereo (Dual OPL2) or mono 
(OPL2) is used.

What one could think of is disabling the DOSBox Dual OPL2 / OPL3 code 
for lowend devices and thus saving some binary size.

// Johannes




More information about the Scummvm-devel mailing list