1
0
Fork 0

add alternative opl2/opl3 emulator; fix opl clock rate

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3348
This commit is contained in:
Sebastian Strohhäcker 2009-04-17 17:24:47 +00:00
parent 415a6641c0
commit 1b6028a8be
5 changed files with 1722 additions and 11 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dosbox.cpp,v 1.146 2009-02-15 20:01:08 qbix79 Exp $ */
/* $Id: dosbox.cpp,v 1.147 2009-04-17 17:24:47 c2woody Exp $ */
#include <stdlib.h>
#include <stdarg.h>
@ -503,10 +503,10 @@ void DOSBOX_Init(void) {
Pstring->Set_values(oplmodes);
Pstring->Set_help("Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.");
const char* oplemus[]={ "auto", 0};
const char* oplemus[]={ "default", "old", 0};
Pstring = secprop->Add_string("oplemu",Property::Changeable::WhenIdle,"auto");
Pstring->Set_values(oplemus);
Pstring->Set_help("Provider for the OPL emulation. On 'auto' dosbox will use the best emulation.");
Pstring->Set_help("Provider for the OPL emulation.");
Pint = secprop->Add_int("oplrate",Property::Changeable::WhenIdle,22050);
Pint->Set_values(rates);