This commit is contained in:
iceman1001 2018-02-21 17:56:09 +01:00
parent b5500c3e54
commit 65a4253e7e
4 changed files with 8 additions and 12 deletions

View file

@ -499,8 +499,6 @@ static int l_reveng_RunModel(lua_State *L){
bool reverse = lua_toboolean(L, 3);
const char endian = luaL_checkstring(L, 4)[0];
//PrintAndLog("mod: %s, hex: %s, rev %d", inModel, inHexStr, reverse);
// int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *result)
int ans = RunModel( (char *)inModel, (char *)inHexStr, reverse, endian, result);
if (!ans)
return returnToLuaWithError(L,"Reveng failed");