aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.h
diff options
context:
space:
mode:
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 ---------- */