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:
parent
25b569e152
commit
d37d71c1b8
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue