/*************************************************************************** * PCSX-Revolution - PlayStation Emulator for Nintendo Wii * * Copyright (C) 2009-2010 PCSX-Revolution Dev Team * * * * * * 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 02111-1307 USA. * ***************************************************************************/ #ifdef FLAGLESS #define gteRTPS gteRTPS_nf #define gteOP gteOP_nf #define gteNCLIP gteNCLIP_nf #define gteDPCS gteDPCS_nf #define gteINTPL gteINTPL_nf #define gteMVMVA gteMVMVA_nf #define gteNCDS gteNCDS_nf #define gteNCDT gteNCDT_nf #define gteCDP gteCDP_nf #define gteNCCS gteNCCS_nf #define gteCC gteCC_nf #define gteNCS gteNCS_nf #define gteNCT gteNCT_nf #define gteSQR gteSQR_nf #define gteDCPL gteDCPL_nf #define gteDPCT gteDPCT_nf #define gteAVSZ3 gteAVSZ3_nf #define gteAVSZ4 gteAVSZ4_nf #define gteRTPT gteRTPT_nf #define gteGPF gteGPF_nf #define gteGPL gteGPL_nf #define gteNCCT gteNCCT_nf #endif #ifndef __GTE_H__ #define __GTE_H__ #ifdef __cplusplus extern "C" { #endif #include "psxcommon.h" #include "r3000a.h" typedef struct { psxCP2Data CP2D; /* Cop2 data registers */ psxCP2Ctrl CP2C; /* Cop2 control registers */ } psxCP2Regs; void gteMFC2(); void gteCFC2(); void gteMTC2(); void gteCTC2(); void gteLWC2(); void gteSWC2(); void gteRTPS(psxCP2Regs *regs); void gteOP(psxCP2Regs *regs); void gteNCLIP(psxCP2Regs *regs); void gteDPCS(psxCP2Regs *regs); void gteINTPL(psxCP2Regs *regs); void gteMVMVA(psxCP2Regs *regs); void gteNCDS(psxCP2Regs *regs); void gteNCDT(psxCP2Regs *regs); void gteCDP(psxCP2Regs *regs); void gteNCCS(psxCP2Regs *regs); void gteCC(psxCP2Regs *regs); void gteNCS(psxCP2Regs *regs); void gteNCT(psxCP2Regs *regs); void gteSQR(psxCP2Regs *regs); void gteDCPL(psxCP2Regs *regs); void gteDPCT(psxCP2Regs *regs); void gteAVSZ3(psxCP2Regs *regs); void gteAVSZ4(psxCP2Regs *regs); void gteRTPT(psxCP2Regs *regs); void gteGPF(psxCP2Regs *regs); void gteGPL(psxCP2Regs *regs); void gteNCCT(psxCP2Regs *regs); #ifdef __cplusplus } #endif #endif