             Serial.print(F(" Data: "));
             Serial.println(inputBuffer[bufferPos]);*/
             
-            if (curFrame == numFrames && !finished) {
+            if (curFrame == numFrames) {
               Serial.println("C:");
               finished = true;
             }
 
-            curFrame++;
-
-            if (!finished && bufferHasData)
-              advanceBuffer(4);
+            advanceBuffer(4);
 
 //            while (Serial.availableForWrite() && readTimer() < 10 * 1000 * MICRO_CYCLES && N64_QUERY);
 


    Serial.write("N:");
    Serial.println(newNumFrames);

    Serial.flush();

    // Wait for the line to go idle, then begin listening

    startTimer();
    volatile uint32_t *config = portConfigRegister(N64_PIN);
    uint32_t oldConfig = *config;
    bool haveFrame;
//    unsigned int curPos;

    *config &= ~0x000F0000;

