Debug on Xbox.

This commit is contained in:
Renaud Lepage
2005-08-25 22:08:33 +00:00
parent 98734b8046
commit b663fc735f
+10 -5
View File
@@ -15,13 +15,18 @@
LuaManager *LUA = NULL;
static LuaFunctionList *g_LuaFunctions = NULL;
#if defined(_MSC_VER) && !defined(_XBOX)
#pragma comment(lib, "lua-5.0/lib/LibLua.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLib.lib")
#elif defined(_XBOX)
#if defined(_XBOX)
#if defined(_XDBG)
#pragma comment(lib, "lua-5.0/lib/LibLuaXboxD.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLibXboxD.lib")
#else
#pragma comment(lib, "lua-5.0/lib/LibLuaXbox.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLibXbox.lib")
#endif
#elif !defined(_XBOX) && defined(_MSC_VER)
#pragma comment(lib, "lua-5.0/lib/LibLua.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLib.lib")
#endif
#if defined(_MSC_VER) || defined (_XBOX)
/* "interaction between '_setjmp' and C++ object destruction is non-portable"
* We don't care; we'll throw a fatal exception immediately anyway. */
@@ -222,7 +227,7 @@ void LuaManager::ResetState()
ASSERT( L );
lua_atpanic( L, LuaPanic );
luaopen_base( L );
luaopen_math( L );
luaopen_string( L );