 static int incompleteCommand = 0;
 static volatile unsigned long viCount = 0;
 
-static SdFatSdioEX sd;
+static SdFs sd;
 
 static uint16_t currentSnesFrame;
 


static void emitList(const String& path)
{
  FatFile dir;
  if (!dir.open(&sd, path.c_str(), O_READ)) {
    Serial.println(F("E:Failed to open requested directory"));
    return;
  }
  dir.rewind();
  FatFile listFile;
  while (listFile.openNext(&dir)) {
    char name[256];
    listFile.getName(name, sizeof(name));

#include <SdFatConfig.h>
#include <MinimumSerial.h>
#include <SdFat.h>
#include <DMAChannel.h>
#include <EEPROM.h>

