Commit Graph

36 Commits

Author SHA1 Message Date
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Johannes Schickel
72686a5a9e Make 'create' return an OPL2 by default.
svn-id: r40503
2009-05-12 19:24:04 +00:00
Johannes Schickel
4190e256bf Cleanup.
svn-id: r40502
2009-05-12 19:03:54 +00:00
Johannes Schickel
4f0768b909 - Add support for selecting the OPL emulator being used (config entry: "opl_driver")
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes

svn-id: r40496
2009-05-12 18:42:44 +00:00
Johannes Schickel
5cc44292a2 - Remove default parameter from OPL::create
- Add some note that no one should use the legacy API for new code

svn-id: r40337
2009-05-05 22:14:34 +00:00
Johannes Schickel
08581ed698 AdLib emulator changes part2:
- Add new OPL emulator API (and legacy access API) in sound/fmopl.h
- Add DOSBox OPL emulator.
- Update MAME OPL emulator for the API changes.

svn-id: r40334
2009-05-05 21:47:12 +00:00
Johannes Schickel
d9e0499a36 AdLib emulator changes part1 (breaks compilation :-/):
- Add new directory sound/softsynth/opl
- Move sound/fmopl to sound/softsynth/opl/mame

svn-id: r40333
2009-05-05 21:40:50 +00:00
Eugene Sandulenko
0a532dfc30 Add interleave parameter to FMOPL as needed by SCI engine
svn-id: r38211
2009-02-15 10:07:50 +00:00
Max Horn
9f12f0c450 Move makeAdlibOPL inside the #include guards
svn-id: r32193
2008-05-20 15:36:09 +00:00
Gregory Montoir
65779599de reverted commit #29736 with a proper fix (I think) to fmopl code
svn-id: r29741
2007-12-06 21:11:26 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
ce13d8e946 cleanup
svn-id: r21920
2006-04-15 21:27:56 +00:00
Torbjörn Andersson
59b6f0f715 Fixed a potential bug that could cause memory to be read out-of-bounds.
(Unfortunately, this does not fix the Kyra bug I'm looking for.)

In the most extreme case:

* DR and RR will point to &DR_TABLE[60], and AR will point to &AR_TABLE[60]
* SLOT->KSR will be 0
* CH->kcode will be 15

In that case, it will attempt to access AR[15], RR[15] and DR[15], i.e.
AR_TABLE[75] and DR_TABLE[75]. So these arrays need to be 76 elements, not 75.

We used to initialise element 75, but this was changed to 74 to match the size
of the arrays. Buf if my reasoning is correct, it was the arrays that were too
small.

svn-id: r21301
2006-03-14 20:09:32 +00:00
Max Horn
406703148f Change CVS keywords to SVN keywords
svn-id: r20515
2006-02-11 10:05:31 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Nicolas Bacca
2f8f982f7d Add medium quality sound for FOTAQ
svn-id: r16676
2005-01-28 20:46:36 +00:00
Max Horn
f030081647 eek, we put a static RandomSource instance into every file that included fmopl.h...
svn-id: r16532
2005-01-10 22:46:23 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
1b537be8d4 Patch #902111: Change remaining random function calls to use RandomSource
svn-id: r13262
2004-03-13 18:44:10 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
svn-id: r9359
2003-08-01 12:21:04 +00:00
Max Horn
1b52e9f19c added new header file backends/intern.h; removed some stuff from common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h)
svn-id: r9327
2003-07-31 12:33:33 +00:00
Jamieson Christian
8b8b964aad Reverted to "old" YM3812 (FMOPL) emulator code.
Until specific information regarding the benefits
of migrating to the new emulator can be made
available, the "old" code will remain in effect
for the benefit of slower hardware platforms such
as some WinCE-based devices.

svn-id: r8903
2003-07-11 07:14:21 +00:00
Paweł Kołodziejski
1ed639aedb hack for proper compile for vc6, why I need this ?
svn-id: r8763
2003-07-05 05:31:04 +00:00
Max Horn
c60e1aeb86 cleanup for -Wundef
svn-id: r8726
2003-07-03 22:05:22 +00:00
Max Horn
325c9b321c new fmopl (from adplug, which has it from mame; we can use it under the LGPL should we ever have to)
svn-id: r7328
2003-05-04 21:17:42 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
a8c3057875 and more cleanup ....
svn-id: r6719
2003-03-06 18:30:44 +00:00
Nicolas Bacca
2c755a1f31 Change AdLib emulation quality for slower devices - added PROP_GET_FMOPL_ENV_BITS and PROP_GET_FMOPL_EG_ENT
svn-id: r6573
2003-01-29 21:28:37 +00:00
James Brown
b2afb797cd Major cleanup of fmopl, and change incorrect uint32 typecasting.
Midi Emulation driver sounds a lot better now.

svn-id: r4235
2002-05-08 02:06:26 +00:00
James Brown
71ba38ba64 LGPL'ed FMOpl from AdPlug.
svn-id: r4063
2002-04-23 17:52:30 +00:00
James Brown
9809c86373 Add boilerplate license to some files, to satisfy Debian types :)
fmopl.c/fmopl.h are infringing on the GPL at the moment. We either need to
replace these, or get permission to relicense them, before 0.2.0

svn-id: r4036
2002-04-21 17:46:42 +00:00
Ludvig Strigeus
95646feac9 adlib sound support, use USE_ADLIB
svn-id: r3510
2001-12-01 17:06:13 +00:00