Fix a vshader id bit collision, avoid color test when set to 'ALWAYS', zeroinitialize dls.

This commit is contained in:
Henrik Rydgard 2013-04-15 22:57:54 +02:00
parent cbbc4e2c9e
commit ea11c36091
4 changed files with 27 additions and 22 deletions

View file

@ -22,6 +22,7 @@ GPUCommon::GPUCommon() :
dumpThisFrame_(false),
interruptsEnabled_(true)
{
memset(dls, 0, sizeof(dls));
for (int i = 0; i < DisplayListMaxCount; ++i) {
dls[i].state = PSP_GE_DL_STATE_NONE;
dls[i].waitTicks = 0;