Merge pull request #3242 from phire/less-warnings

XFMem: Don't warn on writes of zero to unknown registers.
This commit is contained in:
Scott Mansell 2015-11-10 00:20:02 +13:00
commit d6b2fcaa71
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ static void XFRegWritten(int transferSize, u32 baseAddress, DataReader src)
case 0x1017:
default:
WARN_LOG(VIDEO, "Unknown XF Reg: %x=%x", address, newValue);
if (newValue != 0) // Ignore writes of zero.
WARN_LOG(VIDEO, "Unknown XF Reg: %x=%x", address, newValue);
break;
}