Subversion Repositories psp

[/] [branches/] [smsplus_adhoc/] [psp/] [menu.c] - Diff between revs 353 and 354

Show entire file | Details | Blame | View Log

Rev 353 Rev 354
Line 577... Line 577...
      break;
      break;
    }
    }
 
 
    if (!ExitPSP)
    if (!ExitPSP)
    {
    {
      /* Set clock frequency during emulation */
 
      pspSetClockFrequency(Options.ClockFreq);
 
      /* Set buttons to normal mode */
      /* Set buttons to normal mode */
      pspCtrlSetPollingMode(PSP_CTRL_NORMAL);
      pspCtrlSetPollingMode(PSP_CTRL_NORMAL);
 
 
      /* Resume emulation */
      /* Resume emulation */
      if (ResumeEmulation)
      if (ResumeEmulation)
      {
      {
 
        if (AdhocMode)
 
        {
 
          /* TODO */
 
          int code = pspUiBETA(OpponentMAC, AdhocMode == ADHOC_HOST);
 
          if (code == PSP_UI_NO)
 
          {
 
            pspAdhocShutdown();
 
            AdhocMode = ADHOC_NONE;
 
          }
 
          else if (code == PSP_UI_CANCEL)
 
          {
 
            ResumeEmulation = 0;
 
            continue;
 
          }
 
        }
 
 
        if (UiMetric.Animate) pspUiFadeout();
        if (UiMetric.Animate) pspUiFadeout();
        RunEmulator();
        RunEmulator();
        if (UiMetric.Animate) pspUiFadeout();
        if (UiMetric.Animate) pspUiFadeout();
      }
      }
    }
    }