From fb22d6c8bb89a398b36496ecdc29fbb80f8ec77c Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 7 Dec 2016 18:56:26 +0300 Subject: Ooops Fixed wrong generated sound in some cases. DBOPL has own constructors to initialize it's fields. memset no need here --- src/dbopl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dbopl.h') 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 Channel *BlockTemplate(Chip *chip, Bit32u samples, Bit32s *output); Channel(); + char ____padding[6]; }; struct Chip -- cgit v1.2.3