mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-28 11:04:15 +01:00
Fixed Init event keyboard
This commit is contained in:
parent
6c3218830b
commit
ccdd0779d8
@ -1112,6 +1112,7 @@ inline void read_keyboard () {
|
|||||||
ordenador.jk = 0;
|
ordenador.jk = 0;
|
||||||
|
|
||||||
pevento=&evento;
|
pevento=&evento;
|
||||||
|
memset(&evento,0, sizeof(SDL_Event));
|
||||||
SDL_PollEvent (&evento);
|
SDL_PollEvent (&evento);
|
||||||
|
|
||||||
if (pevento->type==SDL_QUIT) {
|
if (pevento->type==SDL_QUIT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user