Removed deinitVGA() from system module

This commit is contained in:
rxi
2016-09-24 11:51:41 +01:00
parent 203639380d
commit ed0d0f6c42

View File

@@ -1,4 +1,4 @@
/** /**
* Copyright (c) 2016 rxi * Copyright (c) 2016 rxi
* *
* This library is free software; you can redistribute it and/or modify it * This library is free software; you can redistribute it and/or modify it
@@ -17,11 +17,6 @@ int l_system_getOS(lua_State *L) {
return 1; return 1;
} }
int l_system_deinitVGA(lua_State *L) {
vga_deinit();
return 1;
}
int l_system_getMemUsage(lua_State *L) { int l_system_getMemUsage(lua_State *L) {
lua_pushnumber(L, lua_gc(L, LUA_GCCOUNT, 0) + dmt_usage() / 1024); lua_pushnumber(L, lua_gc(L, LUA_GCCOUNT, 0) + dmt_usage() / 1024);
@@ -34,7 +29,6 @@ int luaopen_system(lua_State *L) {
luaL_Reg reg[] = { luaL_Reg reg[] = {
{ "getOS", l_system_getOS }, { "getOS", l_system_getOS },
{ "getMemUsage", l_system_getMemUsage }, { "getMemUsage", l_system_getMemUsage },
{ "deinitVGA", l_system_deinitVGA },
{ 0, 0 }, { 0, 0 },
}; };
luaL_newlib(L, reg); luaL_newlib(L, reg);