Pre-allocate TouchState on the stack and pass it's address to GetState
authorTom Briden <tom@decompile.me.uk>
Thu, 27 Oct 2016 15:56:44 +0000 (16:56 +0100)
committerTom Briden <tom@decompile.me.uk>
Thu, 27 Oct 2016 15:56:44 +0000 (16:56 +0100)
commit874e66c90f7dc2da834032a46b3db3e5295aa16a
treecf1559887fa9aa71c98c98f46c1ad6a7d6f2bec5
parentc22d88614dc91ed4ef9599126649b1ebf1b69b85
Pre-allocate TouchState on the stack and pass it's address to GetState

On some systems, GetState doesn't allocate TouchState when passed in
as NULL causing a lockup later when getting X/Y positions
refind/menu.c