mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
removed useless initializations
svn-id: r47153
This commit is contained in:
parent
31d830e79d
commit
cac3510b67
@ -79,14 +79,6 @@ bool MusicPlayer::load(int id) {
|
||||
_rows.clear();
|
||||
|
||||
Row row;
|
||||
row.channels[0].sample = 0;
|
||||
row.channels[1].sample = 0;
|
||||
row.channels[2].sample = 0;
|
||||
|
||||
row.channels[0].volume = 64;
|
||||
row.channels[1].volume = 64;
|
||||
row.channels[2].volume = 64;
|
||||
|
||||
while (!stream->eos()) {
|
||||
|
||||
byte cmd = stream->readByte();
|
||||
|
@ -50,7 +50,7 @@ protected:
|
||||
byte sample;
|
||||
byte volume;
|
||||
byte note;
|
||||
Channel(): sample(0), volume(0), note(0) {}
|
||||
Channel(): sample(0), volume(0x40), note(0) {}
|
||||
} channels[3];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user