Re: [hatari-devel] New option --disable-video and --benchmark |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Hi, On 02/24/2017 08:02 PM, Thomas Huth wrote:
On 23.02.2017 23:03, Nicolas Pomarède wrote:I thought about running Hatari without any window at all, but then more code would be needed as it's SDL that handles keyboard shortcut (for example handle ctrl+c to exit Hatari).FYI, you can also run Hatari without window by setting the SDL_VIDEODRIVER variable to "dummy".
Sounds good, one-liner implementation for the --benchmark option: setenv("SDL_VIDEODRIVER", "dummy", 1); :-) - Eero
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |