Fix - cannot specify explicit initializer for arrays

This commit is contained in:
Ian Curtis 2016-04-11 08:38:59 +00:00
parent 94c66eea7b
commit 6d313fcf9e
2 changed files with 5 additions and 2 deletions

View file

@ -1057,6 +1057,9 @@ CReal3D::CReal3D(void)
fifoIdx = 0;
tapState = 0;
tapIDSize = 197;
m_vromTextureFIFO[0] = 0;
m_vromTextureFIFO[1] = 0;
m_vromTextureFIFOIdx = 0;
DebugLog("Built Real3D\n");
}

View file

@ -407,8 +407,8 @@ private:
uint16_t *textureRAM; // 8MB of internal texture RAM
uint32_t *textureFIFO; // 1MB texture FIFO at 0x94000000
uint32_t fifoIdx; // index into texture FIFO
uint32_t m_vromTextureFIFO[2] = { 0, 0 };
uint32_t m_vromTextureFIFOIdx = 0;
uint32_t m_vromTextureFIFO[2];
uint32_t m_vromTextureFIFOIdx;
// Read-only snapshots
uint32_t *cullingRAMLoRO; // 4MB of culling RAM at 8C000000 [read-only snapshot]