mame/scripts/src/osd
Patrick Mackinlay 7957feaefc taptun: add support for Windows (#3790)
* taptun: add support for Windows

Looking for feedback only at this point, because it's the first time I've attempted any OSD stuff - be gentle.

This extends the existing taptun OSD module to support Windows through the TAP-Windows6 driver (https://github.com/OpenVPN/tap-windows6).
* TAP-Windows6 is GPLv2, however only the header file is required in MAME, and the driver itself is entirely optional.
* I've tried to minimise the size of the diff, rather than completely separate the Windows/non-Windows implementations - not sure which is preferable in this case.
* The license file has Mac(?) line-endings - unsure if they should be normalized or used verbatim.
* Uncertain about the non-Windows case (or the Windows SDL case) - existing code uses __linux__, but I'm not clear on how that works with OSX, for example?
* I can't claim this actually "works" yet, because I don't know enough to configure the tap end of it properly to get networking doing something useful, but I will get there and correct anything necessary in a subsequent real PR.

* minor fixes/improvements (nw)

* Use Unicode Windows APIs, and UTF-8 for MAME
* Deal with unterminated registry string values
* Cancel any pending I/O in destructor
2018-07-30 18:52:11 +10:00
..
modules.lua Enable use of system-wide asio, glm and rapidjson (#3172) 2018-02-08 16:06:25 -05:00
sdl_cfg.lua Attempted to sanitize/rationalize how we access UTF-8 command line arguments (#2532) 2017-09-18 20:28:53 -04:00
sdl.lua Discord plugin try 2 (#3640) 2018-06-08 19:25:39 -04:00
uwp_cfg.lua Move special windows.h include directives to build defines (nw) 2016-12-28 15:07:28 -05:00
uwp.lua srcclean (nw) 2016-11-27 09:56:49 +11:00
windows_cfg.lua taptun: add support for Windows (#3790) 2018-07-30 18:52:11 +10:00
windows.lua Attempted to sanitize/rationalize how we access UTF-8 command line arguments (#2532) 2017-09-18 20:28:53 -04:00