mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Working screenshots for everyone! This may not be the 'best' way to implement it but it's the most compatible, working and least mutually exclusive as possible (works with DC too). More coming soon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2449 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -283,7 +283,7 @@ void __Log(int log, const char *format, ...)
|
||||
}
|
||||
|
||||
|
||||
HRESULT ScreenShot(TCHAR *File)
|
||||
HRESULT ScreenShot(const char *File)
|
||||
{
|
||||
if (D3D::dev == NULL)
|
||||
return S_FALSE;
|
||||
@ -314,7 +314,8 @@ HRESULT ScreenShot(TCHAR *File)
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
unsigned int Video_Screenshot(TCHAR* _szFilename)
|
||||
void Video_Screenshot(const char *_szFilename)
|
||||
{
|
||||
return ScreenShot(_szFilename) == S_OK ? TRUE : FALSE;
|
||||
if(ScreenShot(_szFilename) != S_OK)
|
||||
PanicAlert("Error while capturing screen");
|
||||
}
|
||||
|
Reference in New Issue
Block a user