xray-sky
24df3089f8
fix pcap builds ( #8150 ) [xray-sky, R. Stricklin]
2021-06-06 21:40:17 -04:00
Vas Crabb
5bce46bd75
Removed winpcap and cleaned up network module selection.
...
(nw) The pcap.h header itself has the problematic original BSD license,
including the obnoxious advertising clause. Using tap/tun networking on
Windows provides a much better experience, so the extra setup is worth
it. This patch also allows you to enable pcap on platforms where it's
disabled by default with USE_PCAP=1 if you really want to use it.
2020-03-05 21:23:21 +11:00
Kiall Mac Innes
16bbe847ef
Disable WII Lightgun hack by default ( #5056 )
2019-05-14 16:55:59 -04:00
Vas Crabb
8d40db558e
additional documentation on compiling MAME (nw)
2019-01-01 23:30:41 +11:00
npwoods
3d553eda60
Attempted to sanitize/rationalize how we access UTF-8 command line arguments ( #2532 )
...
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>. On non-Windows platforms, this does nothing more than build the vector. On Windows, this invokes GetCommandLineW() and CommandLineToArgvW(). This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.
Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.
This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution. C'est la vie.
I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this. Let me know if I should move it.
2017-09-18 20:28:53 -04:00
Joshua Root
97d5034d1b
Fix include path with USE_LIBSDL on macOS
...
The cflags will contain an include path ending in "SDL2", not just "SDL", and removing just the latter leaves a stray "2" on the end.
2017-07-22 22:27:34 +10:00
Brad Hughes
b47ec24df6
Move special windows.h include directives to build defines (nw)
2016-12-28 15:07:28 -05:00
Miodrag Milanovic
7c765ea147
No need for osd_malloc, osd_malloc_array and osd_free (nw)
...
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
2016-11-11 16:12:01 +01:00
Brad Hughes
fd94538c21
Changing spaces to tabs for fac14f5
(nw)
2016-10-09 19:51:12 -04:00
Brad Hughes
fac14f51d8
Fix SDL build on windows: asio.hpp requires _WIN32_WINNT (nw)
2016-10-09 19:45:17 -04:00
Bernhard Frauendienst
cb5495f738
Take pkg-config path from env if defined
2016-07-09 22:49:30 +02:00
Miodrag Milanovic
9b3788035c
scrclean on lua scripts (nw)
2016-03-29 08:49:47 +02:00
Miodrag Milanovic
5fc2774703
Clang 3.8.0 supports -municode (nw)
2016-03-14 07:55:17 +01:00
Miodrag Milanovic
d9510ed04d
Used std::thread and std::condition_variable (nw)
2016-03-01 20:52:56 +01:00
Miodrag Milanovic
1adc64573f
compiles but crash on OSX with bundled one (nw)
2016-02-28 15:07:43 +01:00
Miodrag Milanovic
adfae5ffe5
make possible to select if bundled SDL2 is used, made mingw and vs compile so far (nw)
2016-02-27 18:48:03 +01:00
Miodrag Milanovic
ea6b854844
Made Visual Studio use by default bundled SDL2 (nw)
2016-02-27 16:53:49 +01:00
Miodrag Milanovic
4727b0d97f
OS/2 can not support SDL2 which is needed for MAME to run (nw)
2016-02-26 13:20:43 +01:00
Miodrag Milanovic
cce0696a5f
Made OSD=sdl build compile out of box in Visual Studio (nw)
2016-02-22 14:23:15 +01:00
Miodrag Milanovic
38e054c765
placed back OPENGL check since GL is not same as GLES (nw)
2016-02-16 18:00:19 +01:00
Miodrag Milanovic
e1ace73626
opengl as requirement (nw)
2016-02-16 17:21:32 +01:00
Miodrag Milanovic
40e0a1bcb7
Remove SDL 1.2 support (nw)
2016-02-16 16:35:03 +01:00
Jeffrey Clark
4e7f9e86e8
Refactor MACOSX_USE_LIBSDL to USE_LIBSDL for windows and linux static library support (nw)
2016-02-15 12:09:26 -06:00
Miodrag Milanovic
b7def3d28c
fix for osx and bsd (nw)
2016-02-09 15:13:32 +01:00
Cesare Falco
2db577c34e
Get .ini file default path makefile variable back.
2016-01-05 12:01:50 +01:00
Olivier Galibert
9d231a83ad
qt5 debugger port [O. Galibert]
2015-12-27 12:58:00 +01:00
Vas Crabb
f500420346
OS/2 patch for 0.164 [KO Myung-Hun]
2015-08-25 13:02:01 +10:00
Olivier Galibert
9485ca9d43
Revert "debugqt: Port to Qt5 [O. Galibert]"
...
Experience shows it's too early for that. I'll keep that in a corner
and we'll see again later.
2015-08-01 20:43:47 +02:00
Olivier Galibert
a83ad4d11f
debugqt: Port to Qt5 [O. Galibert]
2015-07-29 11:19:43 +02:00
Cesare Falco
6cd8271575
Added new SDL_INI_PATH flag
2015-06-06 16:32:04 +02:00
Miodrag Milanovic
ca37d40f69
Removed comments and added generic license for whole team on top (nw)
2015-05-09 16:05:30 +02:00
Parry
05f71a27f9
Drop NO_SDL_GLEXT define on OSX
2015-04-30 14:10:59 +08:00
Miodrag Milanovic
f6fbdaa2e8
Added QT_HOME to support custom QT installations (nw)
2015-04-13 18:51:07 +02:00
Miodrag Milanovic
abf7d057d2
Supported mingw-clang builds (nw)
2015-04-06 11:58:24 +02:00
Vas Crabb
f947a9b160
Harmonise targetos between genie.lua and sdl{,_config}.lua
2015-04-04 15:13:48 +11:00
Vas Crabb
a119fc50ab
Remove some obsolete code, enable MALLOC_DEBUG for SDLWin32
2015-04-04 15:05:21 +11:00
Vas Crabb
453fd07fa0
Add a nice wrapper for doing backtick-like processing of command output
2015-04-02 22:53:14 +11:00
Miodrag Milanovic
627b7c61dc
Ok shuffling done
2015-04-01 12:02:13 +02:00
Miodrag Milanovic
9207811ed5
fix it properly (nw)
2015-04-01 11:06:53 +02:00
Miodrag Milanovic
42ffb726fa
uf reverting breaks mingw (nw)
2015-04-01 10:57:03 +02:00
Miodrag Milanovic
d504fa25ff
moved unicode specific build defines in genie.lua to fix tools build (nw)
2015-04-01 10:53:26 +02:00
Vas Crabb
5ca7080703
Link osdnet into a library reflecting its location, define USE_NETWORK properly, don't use SDL in non-SDL-specific macros
2015-04-01 18:00:35 +11:00
Vas Crabb
4d84885a29
Refactor out common OSD modules into separate lua file
2015-04-01 07:29:54 +11:00
Vas Crabb
b64e4ecee5
Restore DONT_USE_NETWORK
2015-04-01 03:44:38 +11:00
Vas Crabb
d7d3818ea6
WTF was I thinking
2015-04-01 03:06:55 +11:00
Vas Crabb
1f2763cc32
Restore SDL2_MULTIAPI
2015-04-01 03:03:18 +11:00
Vas Crabb
30ef0cb847
Small cleanup to how macros are defined for SDL OSD
2015-04-01 03:03:17 +11:00
Vas Crabb
6116f8c4fa
Restore MESA_INSTALL_ROOT
2015-04-01 01:21:59 +11:00
Vas Crabb
dbc99041c3
Restore NO_OPENGL and USE_DISPATCH_GL
2015-04-01 01:21:59 +11:00
Vas Crabb
9a2c6d95c8
Restore NO_USE_MIDI and some more OS support from the old SDL makefile
2015-04-01 01:21:59 +11:00