CTextExecuteBuffer: Initialize xac_curY and xb0_curX in the constructor

Provides a deterministic initial state upon construction for easier
debugging.
This commit is contained in:
Lioncash 2020-04-13 16:16:15 -04:00
parent 654e3e705e
commit 50ba80247b
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ class CTextExecuteBuffer {
CBlockInstruction* xa0_curBlock = nullptr;
CLineInstruction* xa4_curLine = nullptr;
InstList::iterator xa8_curWordIt;
s32 xac_curY;
s32 xb0_curX;
s32 xac_curY = 0;
s32 xb0_curX = 0;
s32 xb4_curWordX = 0;
s32 xb8_curWordY = 0;
s32 xbc_spaceDistance = 0;