/[pcsx2_0.9.7]/trunk/plugins/zzogl-pg/opengl/ZZoglFlushHack.h
ViewVC logotype

Contents of /trunk/plugins/zzogl-pg/opengl/ZZoglFlushHack.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 280 - (show annotations) (download)
Thu Dec 23 12:02:12 2010 UTC (9 years, 2 months ago) by william
File MIME type: text/plain
File size: 3247 byte(s)
re-commit (had local access denied errors when committing)
1 /* ZZ Open GL graphics plugin
2 * Copyright (c)2010 gregory.hainaut@gmail.com
3 * Based on GSdx Copyright (C) 2007-2009 Gabest
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20 /* This file is a collection of hack for removing the blur effect on some games
21 * The blur renders very badly on high screen flat panel.
22 *
23 * To avoid severals combo-box, the hack detects the game based on crc
24 */
25
26 #ifndef ZZOGL_FLUSH_HACK_H_INCLUDED
27 #define ZZOGL_FLUSH_HACK_H_INCLUDED
28
29 #include "GS.h"
30 #include "targets.h"
31 #include "ZZoglVB.h"
32
33 extern int g_SkipFlushFrame;
34
35 struct GSFrameInfo
36 {
37 u32 FBP;
38 u32 FPSM;
39 u32 FBMSK;
40 u32 TBP0;
41 u32 TPSM;
42 u32 TZTST;
43 bool TME;
44 };
45
46 typedef void (*GetSkipCount)(const GSFrameInfo& fi, int& skip);
47
48 extern GetSkipCount GetSkipCount_Handler;
49
50 void GSC_Okami(const GSFrameInfo& fi, int& skip);
51 void GSC_MetalGearSolid3(const GSFrameInfo& fi, int& skip);
52 void GSC_DBZBT2(const GSFrameInfo& fi, int& skip);
53 void GSC_DBZBT3(const GSFrameInfo& fi, int& skip);
54 void GSC_SFEX3(const GSFrameInfo& fi, int& skip);
55 void GSC_Bully(const GSFrameInfo& fi, int& skip);
56 void GSC_BullyCC(const GSFrameInfo& fi, int& skip);
57 void GSC_SoTC(const GSFrameInfo& fi, int& skip);
58 void GSC_OnePieceGrandAdventure(const GSFrameInfo& fi, int& skip);
59 void GSC_OnePieceGrandBattle(const GSFrameInfo& fi, int& skip);
60 void GSC_ICO(const GSFrameInfo& fi, int& skip);
61 void GSC_GT4(const GSFrameInfo& fi, int& skip);
62 void GSC_WildArms4(const GSFrameInfo& fi, int& skip);
63 void GSC_WildArms5(const GSFrameInfo& fi, int& skip);
64 void GSC_Manhunt2(const GSFrameInfo& fi, int& skip);
65 void GSC_CrashBandicootWoC(const GSFrameInfo& fi, int& skip);
66 void GSC_ResidentEvil4(const GSFrameInfo& fi, int& skip);
67 void GSC_Spartan(const GSFrameInfo& fi, int& skip);
68 void GSC_AceCombat4(const GSFrameInfo& fi, int& skip);
69 void GSC_Drakengard2(const GSFrameInfo& fi, int& skip);
70 void GSC_Tekken5(const GSFrameInfo& fi, int& skip);
71 void GSC_IkkiTousen(const GSFrameInfo& fi, int& skip);
72 void GSC_GodOfWar(const GSFrameInfo& fi, int& skip);
73 void GSC_GodOfWar2(const GSFrameInfo& fi, int& skip);
74 void GSC_GiTS(const GSFrameInfo& fi, int& skip);
75 void GSC_Onimusha3(const GSFrameInfo& fi, int& skip);
76 void GSC_TalesOfAbyss(const GSFrameInfo& fi, int& skip);
77 void GSC_SonicUnleashed(const GSFrameInfo& fi, int& skip);
78 void GSC_Genji(const GSFrameInfo& fi, int& skip);
79 void GSC_StarOcean3(const GSFrameInfo& fi, int& skip);
80 void GSC_ValkyrieProfile2(const GSFrameInfo& fi, int& skip);
81 void GSC_RadiataStories(const GSFrameInfo& fi, int& skip);
82
83 extern bool IsBadFrame(VB& curvb);
84 #endif

  ViewVC Help
Powered by ViewVC 1.1.22