Example #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     try
     {
         if (!emuInit)
         {
             emuInit = Dolphin.Init();
         }
         if (emuInit && !gameInit)
         {
             gameInit = Dolphin.GameInit();
         }
         if (emuInit && gameInit && !formInit)
         {
             Dolphin.InitMP();
             Dolphin.InitTracker(this);
             formInit = true;
             bW.RunWorkerAsync();
             this.timer1.Stop();
         }
     }
     catch
     {
         emuInit  = false;
         gameInit = false;
         formInit = false;
         FormUtils.Close();
     }
 }