diff options
author | Max Horn | 2003-05-20 14:08:33 +0000 |
---|---|---|
committer | Max Horn | 2003-05-20 14:08:33 +0000 |
commit | fc7806b80d7dcae7a58b01d28e272369ef83f6d7 (patch) | |
tree | 4997f84d90d1a82ea52706788668e564a434892e /backends/midi/adlib.cpp | |
parent | c35ff13a6d9ae2335a3ef82ed7303f0600642024 (diff) | |
download | scummvm-rg350-fc7806b80d7dcae7a58b01d28e272369ef83f6d7.tar.gz scummvm-rg350-fc7806b80d7dcae7a58b01d28e272369ef83f6d7.tar.bz2 scummvm-rg350-fc7806b80d7dcae7a58b01d28e272369ef83f6d7.zip |
more memoy init fixes
svn-id: r7725
Diffstat (limited to 'backends/midi/adlib.cpp')
-rw-r--r-- | backends/midi/adlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp index dbe60235f5..5e32d0496d 100644 --- a/backends/midi/adlib.cpp +++ b/backends/midi/adlib.cpp @@ -174,7 +174,7 @@ struct AdlibVoice { Struct10 _s10b; Struct11 _s11b; - AdlibVoice() : _part (0), _next(0), _prev(0) {} + AdlibVoice() { memset(this, 0, sizeof(AdlibVoice)); } }; struct AdlibSetParams { |