Add back main update loop with framerate limit

This commit is contained in:
Varun Patil 2020-05-07 00:51:18 +05:30
parent e69f14021a
commit 80df1ee771
4 changed files with 67 additions and 2 deletions

View file

@ -159,6 +159,10 @@ int rgssThreadFun(void *userdata)
/* Start script execution */
scriptBinding->execute();
#ifdef __EMSCRIPTEN
return 0;
#endif
threadData->rqTermAck.set();
threadData->ethread->requestTerminate();