Fix compilation with optimization for fixed MRI

This commit is contained in:
Varun Patil 2018-05-03 05:25:29 +05:30
parent 35c19792f8
commit 01cf9243cf
2 changed files with 3 additions and 16 deletions

View file

@ -139,15 +139,6 @@ void EventThread::process(RGSSThreadData &rtData)
}
while (SDL_PollEvent(&event))
{
#ifdef __EMSCRIPTEN__
emscripten_sleep(10);
#endif
// if (!SDL_WaitEvent(&event))
// {
// Debug() << "EventThread: Event error";
// break;
// }
if (sMenu && sMenu->onEvent(event))
{
if (sMenu->destroyReq())