Final commit for 3.6 release (yeah, right).

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2423 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2012-03-16 21:02:01 +00:00
parent b7d8099ed0
commit 98d1e9133c
2 changed files with 6 additions and 2 deletions

View File

@ -317,7 +317,11 @@ typedef int StellaMod;
class StellaKeys class StellaKeys
{ {
public: public:
static uInt8* GetKeyState() { return SDL_GetKeyState(NULL); } static uInt8* GetKeyState()
{
SDL_PumpEvents();
return SDL_GetKeyState(NULL);
}
}; };
#endif /* StellaKeys */ #endif /* StellaKeys */

View File

@ -22,7 +22,7 @@
#include <cstdlib> #include <cstdlib>
#define STELLA_VERSION "3.6_pre" #define STELLA_VERSION "3.6"
#define STELLA_BUILD atoi("$Rev$" + 6) #define STELLA_BUILD atoi("$Rev$" + 6)
#endif #endif