CLuaInstance: The first call to Lua::PlayFile() block restoreNeutrino

- Running restoreNeutrino when exiting the plugin and
   function is blocked
 - Set Lua api version to 1.18
This commit is contained in:
M. Liebmann
2015-12-08 06:15:56 +01:00
parent 558fea4ec4
commit ffea6559c9
3 changed files with 26 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ extern "C" {
#include <vector>
#define LUA_API_VERSION_MAJOR 1
#define LUA_API_VERSION_MINOR 17
#define LUA_API_VERSION_MINOR 18
typedef std::pair<lua_Integer, Font*> fontmap_pair_t;
typedef std::map<lua_Integer, Font*> fontmap_t;
@@ -51,6 +51,7 @@ struct CLuaData
CRCInput *rcinput;
fontmap_t fontmap;
screenmap_t screenmap;
bool moviePlayerBlocked;
};
struct CLuaMenuItem