Add an OSD message when taking screenshots in D3D9/D3D11

Fixes issue 6486.
This commit is contained in:
Pierre Bourdon
2013-08-24 01:41:17 +02:00
parent 6df36ec687
commit 367d6dfd65
4 changed files with 19 additions and 1 deletions

View File

@ -58,6 +58,11 @@ void AddMessage(const char* pstr, u32 ms)
s_listMsgs.push_back(MESSAGE(pstr, Common::Timer::GetTimeMs() + ms));
}
void AddMessage(const std::string& str, u32 ms)
{
AddMessage(str.c_str(), ms);
}
void DrawMessages()
{
if(!SConfig::GetInstance().m_LocalCoreStartupParameter.bOnScreenDisplayMessages)