Removed deinitVGA() from system module
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* Copyright (c) 2016 rxi
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
|
||||
int l_system_deinitVGA(lua_State *L) {
|
||||
vga_deinit();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
int l_system_getMemUsage(lua_State *L) {
|
||||
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[] = {
|
||||
{ "getOS", l_system_getOS },
|
||||
{ "getMemUsage", l_system_getMemUsage },
|
||||
{ "deinitVGA", l_system_deinitVGA },
|
||||
{ 0, 0 },
|
||||
};
|
||||
luaL_newlib(L, reg);
|
||||
|
||||
Reference in New Issue
Block a user