diff options
author | Max Horn | 2005-01-10 22:46:23 +0000 |
---|---|---|
committer | Max Horn | 2005-01-10 22:46:23 +0000 |
commit | f030081647882ae537ffe6493f0b7764ce655245 (patch) | |
tree | f61d024c4a911c3b01d1b18a81eff13ce3095cce /sound/fmopl.cpp | |
parent | f3f1d6be874ef032284980bd5739bd57bda48237 (diff) | |
download | scummvm-rg350-f030081647882ae537ffe6493f0b7764ce655245.tar.gz scummvm-rg350-f030081647882ae537ffe6493f0b7764ce655245.tar.bz2 scummvm-rg350-f030081647882ae537ffe6493f0b7764ce655245.zip |
eek, we put a static RandomSource instance into every file that included fmopl.h...
svn-id: r16532
Diffstat (limited to 'sound/fmopl.cpp')
-rw-r--r-- | sound/fmopl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp index 5b133a21f2..b6686a8962 100644 --- a/sound/fmopl.cpp +++ b/sound/fmopl.cpp @@ -38,6 +38,10 @@ #include "common/config-manager.h" #endif + +static Common::RandomSource oplRnd; /* OPL random number generator */ + + /* -------------------- preliminary define section --------------------- */ /* attack/decay rate time rate */ #define OPL_ARRATE 141280 /* RATE 4 = 2826.24ms @ 3.6MHz */ |