Minor OSD on screenshot tinkle.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2454 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-02-27 11:45:07 +00:00
parent 25b569e152
commit d37d71c1b8
2 changed files with 6 additions and 1 deletions

View File

@ -318,4 +318,9 @@ void Video_Screenshot(const char *_szFilename)
{
if(ScreenShot(_szFilename) != S_OK)
PanicAlert("Error while capturing screen");
else {
std::string message = "Saved ";
message += _szFilename;
Renderer::AddMessage(message, 2000);
}
}

View File

@ -1080,7 +1080,7 @@ void Renderer::Swap(const TRectangle& rc)
if(SaveRenderTarget(s_sScreenshotName.c_str())) {
char msg[255];
sprintf(msg, "Saved %s\n", s_sScreenshotName.c_str());
OSD::AddMessage(msg, 500);
OSD::AddMessage(msg, 2000);
} else
PanicAlert("Error while capturing screen");