diff options
author | Max Horn | 2003-10-06 22:33:54 +0000 |
---|---|---|
committer | Max Horn | 2003-10-06 22:33:54 +0000 |
commit | 8c9dc47ee1f505f68834c55e12d046afaf89dc72 (patch) | |
tree | 7ed12c8601cf6124f026945849a6046c2bb157d8 /backends/midi/ym2612.cpp | |
parent | 1ebb7cce53723900b0dde2f93a5ee9f0ae563730 (diff) | |
download | scummvm-rg350-8c9dc47ee1f505f68834c55e12d046afaf89dc72.tar.gz scummvm-rg350-8c9dc47ee1f505f68834c55e12d046afaf89dc72.tar.bz2 scummvm-rg350-8c9dc47ee1f505f68834c55e12d046afaf89dc72.zip |
fixed warnings
svn-id: r10646
Diffstat (limited to 'backends/midi/ym2612.cpp')
-rw-r--r-- | backends/midi/ym2612.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp index 067f23b354..130168459e 100644 --- a/backends/midi/ym2612.cpp +++ b/backends/midi/ym2612.cpp @@ -333,9 +333,9 @@ void Operator2612::nextTick(const int *phasebuf, int *outbuf, int buflen) { _state = _s_decaying; } - int32 levelIncrement; - int32 target; - State next_state; + int32 levelIncrement = 0; + int32 target = 0; + State next_state = _s_ready; const int32 zero_level = ((int32)0x7f << 15); const int phaseIncrement = (_multiple > 0) ? (_frequency * _multiple) : (_frequency / 2); |