mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
initialize the uninitialized
This commit is contained in:
parent
81a1efab8e
commit
39613a95a8
24 changed files with 157 additions and 11 deletions
|
@ -60,3 +60,14 @@ void VideoCommon_RunLoop(bool enable)
|
|||
{
|
||||
EmulatorState(enable);
|
||||
}
|
||||
|
||||
void VideoCommon_Init()
|
||||
{
|
||||
memset(arraybases, 0, sizeof(arraybases));
|
||||
memset(arraystrides, 0, sizeof(arraystrides));
|
||||
memset(&MatrixIndexA, 0, sizeof(MatrixIndexA));
|
||||
memset(&MatrixIndexB, 0, sizeof(MatrixIndexB));
|
||||
memset(&g_VtxDesc, 0, sizeof(g_VtxDesc));
|
||||
memset(g_VtxAttr, 0, sizeof(g_VtxAttr));
|
||||
memset(texMem, 0, TMEM_SIZE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue