- Added the Java OPL3 emulator to the menu.

- Added full panning support to the Java OPL3 emulator.

SVN r3969 (trunk)
This commit is contained in:
Randy Heit 2012-11-17 05:26:03 +00:00
commit 5627a7ebd7
5 changed files with 67 additions and 45 deletions

View file

@ -46,8 +46,6 @@ typedef SBYTE Bit8s;
#include "opl.h"
#define CENTER_PANNING_POWER 0.70710678118f
static Bit16s wavtable[WAVEPREC*3]; // wave form table
// key scale levels
@ -506,7 +504,7 @@ void DBOPL::Reset() {
#if defined(OPLTYPE_IS_OPL3)
op[i].is_4op = false;
op[i].is_4op_attached = false;
op[i].right_pan = op[i].left_pan = FullPan ? CENTER_PANNING_POWER : 1;
op[i].right_pan = op[i].left_pan = FullPan ? (float)CENTER_PANNING_POWER : 1;
#endif
}