mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
0651e45460
commit
65152066ca
|
@ -811,15 +811,20 @@ void pt(const char* str){
|
||||||
|
|
||||||
EXPORT_C_(int) GSsetupRecording(int start, void* data)
|
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)
|
if(start & 1)
|
||||||
{
|
{
|
||||||
|
printf("GSdx: Recording start command\n")
|
||||||
if( s_gs->BeginCapture() )
|
if( s_gs->BeginCapture() )
|
||||||
pt(" - Capture started\n");
|
pt(" - Capture started\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
printf("GSdx: Recording end command\n")
|
||||||
s_gs->EndCapture();
|
s_gs->EndCapture();
|
||||||
pt(" - Capture ended\n");
|
pt(" - Capture ended\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue