diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-29 05:31:47 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-29 05:31:47 +0300 |
commit | 306d925a17d13b1327b66658bee85784764dca48 (patch) | |
tree | 4b7103c98e919aad722a3f89a2fef113ef2e577c /src/adlmidi_midiplay.cpp | |
parent | c8595d01aba305694d9fd8754ecc6fe4ac0f1ec2 (diff) | |
download | libADLMIDI-306d925a17d13b1327b66658bee85784764dca48.tar.gz libADLMIDI-306d925a17d13b1327b66658bee85784764dca48.tar.bz2 libADLMIDI-306d925a17d13b1327b66658bee85784764dca48.zip |
Fixed "Forcing int to bool" MSVC warning
Diffstat (limited to 'src/adlmidi_midiplay.cpp')
-rw-r--r-- | src/adlmidi_midiplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_midiplay.cpp b/src/adlmidi_midiplay.cpp index 76d54ab..5161b50 100644 --- a/src/adlmidi_midiplay.cpp +++ b/src/adlmidi_midiplay.cpp @@ -397,7 +397,7 @@ bool MIDIplay::realTime_NoteOn(uint8_t channel, uint8_t note, uint8_t velocity) if((m_synth.m_rhythmMode == 1) && PercussionMap[midiins & 0xFF]) voices[1] = voices[0];//i[1] = i[0]; - bool isBlankNote = (ains->flags & adlinsdata::Flag_NoSound); + bool isBlankNote = (ains->flags & adlinsdata::Flag_NoSound) != 0; if(hooks.onDebugMessage) { |