Fix a vshader id bit collision, avoid color test when set to 'ALWAYS', zeroinitialize dls.
This commit is contained in:
parent
cbbc4e2c9e
commit
ea11c36091
4 changed files with 27 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue