Пример #1
0
 public void read(byte[] sourceBuffer, UInt32 bufferLen)
 {
     try
     {
         tune           = tune.read(sourceBuffer, bufferLen);
         m_status       = true;
         m_statusString = MSG_NO_ERRORS;
     }
     catch (libsidplayfp.sidtune.loadError e)
     {
         m_status       = false;
         m_statusString = e.message();
     }
 }
Пример #2
0
 public void load(string fileName, bool separatorIsSlash = false)
 {
     try
     {
         tune           = tune.load(fileName, fileNameExtensions, separatorIsSlash);
         m_status       = true;
         m_statusString = MSG_NO_ERRORS;
     }
     catch (libsidplayfp.sidtune.loadError e)
     {
         m_status       = false;
         m_statusString = e.message();
     }
 }