summaryrefslogtreecommitdiff
path: root/libpcsxcore/pgxp_debug.h
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2016-06-07 15:57:46 +0100
committeriCatButler <i.am.catbutler@gmail.com>2016-06-07 15:57:46 +0100
commitf70082329d751ee8a358437feb34134e283b27d8 (patch)
treec97c99835067e9a20725943b4b4c63d44d4e3bdc /libpcsxcore/pgxp_debug.h
parent7ecfee1f664eeb92b653104f5f3c915cc6fe6bcb (diff)
downloadpcsxr-f70082329d751ee8a358437feb34134e283b27d8.tar.gz
Initial PGXP CPU commit
- Restructured project to base interface on PSX instructions - Support for all relevant CPU arithmetic and logic instructions - Debug output available via deferred PGXP calls - Remove most dependencies on PCSXR - Still very much a work in progress (lots of errors) - Add extra debug information to GPU plugin (w values)
Diffstat (limited to 'libpcsxcore/pgxp_debug.h')
-rw-r--r--libpcsxcore/pgxp_debug.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/libpcsxcore/pgxp_debug.h b/libpcsxcore/pgxp_debug.h
new file mode 100644
index 00000000..caea2b67
--- /dev/null
+++ b/libpcsxcore/pgxp_debug.h
@@ -0,0 +1,42 @@
+/***************************************************************************
+* 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"
+
+// Debug wrappers
+void PGXP_psxTrace(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_ \ No newline at end of file