diff options
author | Wohlstand <admin@wohlnet.ru> | 2016-12-07 18:56:26 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2016-12-07 18:56:26 +0300 |
commit | fb22d6c8bb89a398b36496ecdc29fbb80f8ec77c (patch) | |
tree | c1f697b9c45031b4d588854012bd723bb20078fb /src/dbopl.h | |
parent | d538d57803c7651a36a720eb4ae4d53fb0efacab (diff) | |
download | libADLMIDI-fb22d6c8bb89a398b36496ecdc29fbb80f8ec77c.tar.gz libADLMIDI-fb22d6c8bb89a398b36496ecdc29fbb80f8ec77c.tar.bz2 libADLMIDI-fb22d6c8bb89a398b36496ecdc29fbb80f8ec77c.zip |
Ooops
Fixed wrong generated sound in some cases.
DBOPL has own constructors to initialize it's fields. memset no need here
Diffstat (limited to 'src/dbopl.h')
-rw-r--r-- | src/dbopl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbopl.h b/src/dbopl.h index 5dfe7fe..bdd439d 100644 --- a/src/dbopl.h +++ b/src/dbopl.h @@ -173,6 +173,7 @@ namespace DBOPL Bits GetWave(Bitu index, Bitu vol); public: Operator(); + char ____padding[5]; }; struct Channel @@ -211,6 +212,7 @@ namespace DBOPL template<SynthMode mode> Channel *BlockTemplate(Chip *chip, Bit32u samples, Bit32s *output); Channel(); + char ____padding[6]; }; struct Chip |