Fix some valgrind errors
Jeffrey Pfau jeffrey@endrift.com
Sat, 29 Mar 2014 22:39:02 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-sio.c
→
src/gba/gba-sio.c
@@ -40,6 +40,8 @@
void GBASIOInit(struct GBASIO* sio) { sio->rcnt = RCNT_INITIAL; sio->siocnt = 0; + sio->mode = -1; + sio->activeDriver = 0; _switchMode(sio); }