Fix some valgrind errors

This commit is contained in:
Jeffrey Pfau 2014-03-29 22:39:02 -07:00
parent 2cd4bb3cff
commit 4c1014685f
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ static void _switchMode(struct GBASIO* sio) {
void GBASIOInit(struct GBASIO* sio) {
sio->rcnt = RCNT_INITIAL;
sio->siocnt = 0;
sio->mode = -1;
sio->activeDriver = 0;
_switchMode(sio);
}