Just a bit of GSdx debugging.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5898 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2.code 2014-02-11 21:47:43 +00:00
parent 0651e45460
commit 65152066ca
1 changed files with 6 additions and 1 deletions

View File

@ -811,15 +811,20 @@ void pt(const char* str){
EXPORT_C_(int) GSsetupRecording(int start, void* data)
{
if(s_gs == NULL) return 0;
if (s_gs == NULL) {
printf("GSdx: no s_gs for recording\n");
return 0;
}
if(start & 1)
{
printf("GSdx: Recording start command\n")
if( s_gs->BeginCapture() )
pt(" - Capture started\n");
}
else
{
printf("GSdx: Recording end command\n")
s_gs->EndCapture();
pt(" - Capture ended\n");
}