Small screenshot fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2479 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fc1c441987
commit
29c22d6d44
|
@ -540,10 +540,12 @@ void CFrame::OnScreenshot(wxCommandEvent& WXUNUSED (event))
|
|||
{
|
||||
std::string name;
|
||||
GenerateScreenshotName(name);
|
||||
bool bPaused = Core::GetState() == Core::CORE_PAUSE;
|
||||
|
||||
Core::SetState(Core::CORE_PAUSE);
|
||||
CPluginManager::GetInstance().GetVideo()->Video_Screenshot(name.c_str());
|
||||
Core::SetState(Core::CORE_RUN);
|
||||
if(!bPaused)
|
||||
Core::SetState(Core::CORE_RUN);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue