all repos — mgba @ 4c1014685fd4551f75d56e16bdc9af85bf00cc16

mGBA Game Boy Advance Emulator

Fix some valgrind errors
Jeffrey Pfau jeffrey@endrift.com
Sat, 29 Mar 2014 22:39:02 -0700
commit

4c1014685fd4551f75d56e16bdc9af85bf00cc16

parent

2cd4bb3cff0caa48da2d7797cab99c5cdc51e0d4

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/gba/gba-sio.csrc/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); }