예제 #1
0
void SaveScreenShot()
{
	const bool bPaused = (GetState() == CORE_PAUSE);

	SetState(CORE_PAUSE);

	g_video_backend->Video_Screenshot(GenerateScreenshotName());

	if (!bPaused)
		SetState(CORE_RUN);
}
예제 #2
0
파일: Core.cpp 프로젝트: CarlKenner/dolphin
void SaveScreenShot()
{
  const bool bPaused = (GetState() == CORE_PAUSE);

  SetState(CORE_PAUSE);

  Renderer::SetScreenshot(GenerateScreenshotName());

  if (!bPaused)
    SetState(CORE_RUN);
}