X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/3bad22d5566624804a73b3791980bab2d84c8266..5b9623240f6e04e7b6946a0a03a9805b8ea8e5b5:/lib/gdi/fb.cpp diff --git a/lib/gdi/fb.cpp b/lib/gdi/fb.cpp index 4b8a56c9..38ae37dd 100644 --- a/lib/gdi/fb.cpp +++ b/lib/gdi/fb.cpp @@ -59,7 +59,7 @@ fbClass::fbClass(const char *fb) goto nolfb; } - showConsole(1); +// showConsole(0); return; nolfb: lfb=0; @@ -83,8 +83,8 @@ int fbClass::showConsole(int state) int fbClass::SetMode(unsigned int nxRes, unsigned int nyRes, unsigned int nbpp) { -/* screeninfo.xres_virtual=screeninfo.xres=nxRes; - screeninfo.yres_virtual=screeninfo.yres=nyRes; */ + screeninfo.xres_virtual=screeninfo.xres=nxRes; + screeninfo.yres_virtual=screeninfo.yres=nyRes; screeninfo.height=0; screeninfo.width=0; screeninfo.xoffset=screeninfo.yoffset=0; @@ -121,6 +121,7 @@ fbClass::~fbClass() ioctl(fd, FBIOPUT_VSCREENINFO, &oldscreen); if (lfb) munmap(lfb, available); + showConsole(1); } int fbClass::PutCMAP()