aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.h
diff options
context:
space:
mode:
authorGregory Montoir2007-12-06 21:11:26 +0000
committerGregory Montoir2007-12-06 21:11:26 +0000
commit65779599de285edb707c4a5fa4e8506385bfc54a (patch)
treeaee9b1dd719e44c26a52fbd2cd3fd437ad2579b6 /sound/fmopl.h
parent4806a5f673648b29c36b9a1f4f985bd7666da102 (diff)
downloadscummvm-rg350-65779599de285edb707c4a5fa4e8506385bfc54a.tar.gz
scummvm-rg350-65779599de285edb707c4a5fa4e8506385bfc54a.tar.bz2
scummvm-rg350-65779599de285edb707c4a5fa4e8506385bfc54a.zip
reverted commit #29736 with a proper fix (I think) to fmopl code
svn-id: r29741
Diffstat (limited to 'sound/fmopl.h')
-rw-r--r--sound/fmopl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/fmopl.h b/sound/fmopl.h
index 9b3ff0518f..cc2f967f25 100644
--- a/sound/fmopl.h
+++ b/sound/fmopl.h
@@ -30,6 +30,7 @@
#define SOUND_FMOPL_H
#include "common/scummsys.h"
+#include "common/util.h"
enum {
FMOPL_ENV_BITS_HQ = 16,
@@ -143,6 +144,8 @@ typedef struct fm_opl_f {
int IRQParam; /* IRQ parameter */
OPL_UPDATEHANDLER UpdateHandler; /* stream update handler */
int UpdateParam; /* stream update parameter */
+
+ Common::RandomSource rnd;
} FM_OPL;
/* ---------- Generic interface section ---------- */