mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add the wide screen hack by <---Does the person even have a user name?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4171 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1e016dd522
commit
2be5d013e0
7 changed files with 32 additions and 3 deletions
|
@ -226,8 +226,9 @@ void VertexShaderManager::SetConstants()
|
|||
|
||||
if (xfregs.rawProjection[6] == 0)
|
||||
{
|
||||
bool bWidescreenHack = Projection_GetWidescreen();
|
||||
// Perspective
|
||||
g_fProjectionMatrix[0] = xfregs.rawProjection[0];
|
||||
g_fProjectionMatrix[0] = (bWidescreenHack ? xfregs.rawProjection[0]*0.75f : xfregs.rawProjection[0]);
|
||||
g_fProjectionMatrix[1] = 0.0f;
|
||||
g_fProjectionMatrix[2] = xfregs.rawProjection[1];
|
||||
g_fProjectionMatrix[3] = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue