diff --git a/Arduinoboy/Arduinoboy.ino b/Arduinoboy/Arduinoboy.ino index 9c61306..5fb05b1 100644 --- a/Arduinoboy/Arduinoboy.ino +++ b/Arduinoboy/Arduinoboy.ino @@ -10,8 +10,8 @@ *************************************************************************** *************************************************************************** * * - * Version: 1.2.1 * - * Date: May 3 2011 * + * Version: 1.2.2 * + * Date: Sept 14 2011 * * Name: Timothy Lamb * * Email: trash80@gmail.com * * * diff --git a/Arduinoboy/Mode_MidiGb.ino b/Arduinoboy/Mode_MidiGb.ino index 74ed370..e165b39 100644 --- a/Arduinoboy/Mode_MidiGb.ino +++ b/Arduinoboy/Mode_MidiGb.ino @@ -34,6 +34,7 @@ void modeMidiGb() midiValueMode = false; break; default: + sendByte = false; midiStatusChannel = incomingMidiByte&0x0F; midiStatusType = incomingMidiByte&0xF0; if(midiStatusChannel == memory[MEM_MGB_CH]) { @@ -51,6 +52,9 @@ void modeMidiGb() } else if (midiStatusChannel == memory[MEM_MGB_CH+4]) { incomingMidiData[0] = midiStatusType+4; sendByte = true; + } else { + midiValueMode =false; + midiAddressMode=false; } if(sendByte) { sendByteToGameboy(incomingMidiData[0]);