mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
Clear all Real3D DMA registers on reset; uninitialized values were causing issues with MSVC debug builds
This commit is contained in:
parent
3e9c887277
commit
6ff099b5ba
|
@ -845,8 +845,14 @@ void CReal3D::Reset(void)
|
|||
|
||||
fifoIdx = 0;
|
||||
m_vromTextureFIFOIdx = 0;
|
||||
dmaStatus = 0;
|
||||
|
||||
dmaSrc = 0;
|
||||
dmaDest = 0;
|
||||
dmaLength = 0;
|
||||
dmaData = 0;
|
||||
dmaUnknownReg = 0;
|
||||
dmaStatus = 0;
|
||||
dmaConfig = 0;
|
||||
|
||||
unsigned memSize = (m_gpuMultiThreaded ? MEMORY_POOL_SIZE : MEM_POOL_SIZE_RW);
|
||||
memset(memoryPool, 0, memSize);
|
||||
|
|
Loading…
Reference in a new issue