mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Fix Pikmin PAL not booting thanks to LordMark for figuring it out ! :D
Added "AccurateFCMP" ini setting which fixes Nights, Paper Mario games... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4042 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1451,6 +1451,7 @@ void UpdateViewport()
|
||||
glViewport(GLx, GLy, GLWidth, GLHeight);
|
||||
|
||||
// GLDepthRange - this could be a source of trouble - see the viewport hacks.
|
||||
// TODO : Should this use 16777216.0f or 16777215.0f ?
|
||||
double GLNear = (xfregs.rawViewport[5] - xfregs.rawViewport[2]) / 16777215.0f;
|
||||
double GLFar = xfregs.rawViewport[5] / 16777215.0f;
|
||||
glDepthRange(GLNear, GLFar);
|
||||
|
Reference in New Issue
Block a user