summaryrefslogtreecommitdiff
path: root/libpcsxcore/pgxp_debug.h
blob: 4139108ec2802b9bbb45caf0c2eb039a13d7a719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/***************************************************************************
*   Copyright (C) 2016 by iCatButler                                      *
*                                                                         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
*                                                                         *
*   This program is distributed in the hope that it will be useful,       *
*   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
*   GNU General Public License for more details.                          *
*                                                                         *
*   You should have received a copy of the GNU General Public License     *
*   along with this program; if not, write to the                         *
*   Free Software Foundation, Inc.,                                       *
*   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
***************************************************************************/

/**************************************************************************
*	pgxp_debug.h
*	PGXP - Parallel/Precision Geometry Xform Pipeline
*
*	Created on: 07 Jun 2016
*      Author: iCatButler
***************************************************************************/

#ifndef _PGXP_DEBUG_H_
#define _PGXP_DEBUG_H_

#include "psxcommon.h"

//#define PGXP_CPU_DEBUG

// Debug wrappers
void	PGXP_psxTraceOp(u32 code);
void	PGXP_psxTraceOp1(u32 code, u32 op1);
void	PGXP_psxTraceOp2(u32 code, u32 op1, u32 op2);
void	PGXP_psxTraceOp3(u32 code, u32 op1, u32 op2, u32 op3);
void	PGXP_psxTraceOp4(u32 code, u32 op1, u32 op2, u32 op3, u32 op4);

extern unsigned int pgxp_debug;

#endif//_PGXP_DEBUG_H_