diff options
author | David Turner | 2010-06-16 07:22:54 +0000 |
---|---|---|
committer | David Turner | 2010-06-16 07:22:54 +0000 |
commit | 4ac81f3d18c6d31d1e6291e53d128db9f7199f57 (patch) | |
tree | 7f37a6a6b8c5061a2f4a303716b0c2fd2a77c972 /backends/platform/gp2xwiz | |
parent | 8f962a8fc319f757ea281848a78bb6c5d5365203 (diff) | |
download | scummvm-rg350-4ac81f3d18c6d31d1e6291e53d128db9f7199f57.tar.gz scummvm-rg350-4ac81f3d18c6d31d1e6291e53d128db9f7199f57.tar.bz2 scummvm-rg350-4ac81f3d18c6d31d1e6291e53d128db9f7199f57.zip |
Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends.
svn-id: r49902
Diffstat (limited to 'backends/platform/gp2xwiz')
-rw-r--r-- | backends/platform/gp2xwiz/gp2xwiz-events.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-events.cpp b/backends/platform/gp2xwiz/gp2xwiz-events.cpp index a69aa42967..19ef24ef58 100644 --- a/backends/platform/gp2xwiz/gp2xwiz-events.cpp +++ b/backends/platform/gp2xwiz/gp2xwiz-events.cpp @@ -165,6 +165,7 @@ int GP2X_BUTTON_STATE_L = false; /* Override the SDL pollEvent with the Wiz's own event code. */ bool OSystem_GP2XWIZ::pollEvent(Common::Event &event) { SDL_Event ev; + ev.type = SDL_NOEVENT; int axis; byte b = 0; |