core: send osd log event when snapshot is taken

This commit is contained in:
Kojin 2020-09-23 17:27:39 -04:00
parent 86ed9f68f6
commit 626bf27887
2 changed files with 3 additions and 2 deletions

View File

@ -270,7 +270,7 @@ typedef void(CALLBACK *_GSsetExclusive)(int isExclusive);
typedef std::wstring*(CALLBACK *_GSsetupRecording)(int);
typedef void(CALLBACK *_GSreset)();
typedef void(CALLBACK *_GSwriteCSR)(u32 value);
typedef void(CALLBACK *_GSmakeSnapshot)(const char *path);
typedef bool(CALLBACK *_GSmakeSnapshot)(const char *path);
typedef void(CALLBACK *_GSmakeSnapshot2)(const char *path, int *, int);
// PAD

View File

@ -384,7 +384,8 @@ namespace Implementations
void Sys_TakeSnapshot()
{
GSmakeSnapshot(g_Conf->Folders.Snapshots.ToUTF8());
if (GSmakeSnapshot(g_Conf->Folders.Snapshots.ToUTF8()))
OSDlog(ConsoleColors::Color_Black, true, "Snapshot taken");
}
void Sys_RenderToggle()