Fix Grandia Xtreme flicker :)
Could help other games as well, please test.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5129 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-03-15 12:44:18 +00:00
parent 406ea42c43
commit c77c184858
1 changed files with 2 additions and 2 deletions

View File

@ -1149,8 +1149,8 @@ template<int i> void GSState::GIFRegHandlerZBUF(const GIFReg* RESTRICT r)
if(ZBUF.u32[0] == 0) if(ZBUF.u32[0] == 0)
{ {
// during startup all regs are cleared to 0 (by the bios or something), so we mask z until this register becomes valid // during startup all regs are cleared to 0 (by the bios or something), so we mask z until this register becomes valid
// edit: breaks Grandia Xtreme and sounds like a bad idea generally. What was the intend?
ZBUF.ZMSK = 1; //ZBUF.ZMSK = 1;
} }
ZBUF.PSM |= 0x30; ZBUF.PSM |= 0x30;