D3D: Projection hack feature. Have also moved related functions and constant definitions from OGL to VideoCommon, will clean up the code better if it works for D3D.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4252 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
rice1964
2009-09-11 05:50:02 +00:00
parent 5ffb48c33b
commit e1a0f8884a
4 changed files with 147 additions and 60 deletions

View File

@ -23,6 +23,7 @@
#include "Atomic.h"
#include "Thread.h"
#include "LogManager.h"
#include "GlobalControl.h"
#if defined(HAVE_WX) && HAVE_WX
@ -183,6 +184,7 @@ bool Init()
{
g_Config.Load();
g_Config.GameIniLoad();
UpdateProjectionHack(g_Config.iPhackvalue); // DX9 projection hack could be disabled by commenting out this line
if (initCount == 0)
{