From 51cf70467dfbcca5fbce7f25761678dd8b487d4e Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 9 May 2009 10:25:10 +0000 Subject: Integrated P.E.Op.S OpenGL plugin into the build tree (still does NOT work on x86_64) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23342 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/peopsxgl/gpu.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 plugins/peopsxgl/gpu.h (limited to 'plugins/peopsxgl/gpu.h') diff --git a/plugins/peopsxgl/gpu.h b/plugins/peopsxgl/gpu.h new file mode 100644 index 00000000..f21433d9 --- /dev/null +++ b/plugins/peopsxgl/gpu.h @@ -0,0 +1,40 @@ +/*************************************************************************** + gpu.h - description + ------------------- + begin : Sun Mar 08 2009 + copyright : (C) 1999-2009 by Pete Bernert + web : www.pbernert.com + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. See also the license.txt file for * + * additional informations. * + * * + ***************************************************************************/ + +#ifndef _GPU_INTERNALS_H +#define _GPU_INTERNALS_H + +#define PRED(x) ((x << 3) & 0xF8) +#define PBLUE(x) ((x >> 2) & 0xF8) +#define PGREEN(x) ((x >> 7) & 0xF8) + +#define RED(x) (x & 0xff) +#define BLUE(x) ((x>>16) & 0xff) +#define GREEN(x) ((x>>8) & 0xff) +#define COLOR(x) (x & 0xffffff) + +void DoSnapShot(void); +void updateDisplay(void); +void updateFrontDisplay(void); +void SetAutoFrameCap(void); +void SetAspectRatio(void); +void CheckVRamRead(int x, int y, int dx, int dy,BOOL bFront); +void CheckVRamReadEx(int x, int y, int dx, int dy); +void SetFixes(void); + +#endif // _GPU_INTERNALS_H -- cgit v1.2.3