Change auto.lua to create plaintext instead of hex code.

This commit is contained in:
vrld
2011-02-20 23:34:48 +01:00
parent 8581efae07
commit 08259a4a0e
7 changed files with 17 additions and 8054 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ int main(int argc, char ** argv)
}
// Boot
if (luaL_loadbuffer(L, (const char *)love::boot_lua, sizeof(love::boot_lua), "boot.lua") == 0)
if (luaL_loadbuffer(L, love::boot_lua.c_str(), love::boot_lua.size(), "boot.lua") == 0)
lua_call(L, 0, 0);
lua_close(L);