Commit Graph

603 Commits

Author SHA1 Message Date
Justin Kerk
ada1d5a8f4 Fix clang version detection under Emscripten. [Justin Kerk] 2020-08-27 14:22:16 +00:00
Vas Crabb
5892c78a15 version bump for 0.224 2020-08-25 11:03:34 +10:00
Vas Crabb
9be5a58060 makefile: Make cleansrc target use shell type to select correct syntax rather than assuming Windows uses cmd shell. 2020-08-23 10:58:38 +10:00
Julian Sikorski
ad957523da Pass FORCE_C_DRC_BACKEND=1 on ppc architectures
PowerPC architecture is special in a way that it has some inline assembly
code but no DRC support. As a result, NOASM=1 was never configured.
In contrast to the old DRC, asmjit only compiles on the architectures it
supports. FORCE_C_DRC_BACKEND=1 needs to be passed to the makefile or
the compilation will fail.
2020-08-20 18:51:47 +02:00
Vas Crabb
c55a261d26 version bump for 0.223 2020-08-06 05:48:15 +10:00
Vas Crabb
6d50d60a43 version bump (nw) 2020-06-26 15:55:07 +10:00
Vas Crabb
e8a0e0469b version bump (nw) 2020-05-18 10:52:33 +10:00
Vas Crabb
c5c5723b9d version bump (nw) 2020-04-06 03:42:38 +10:00
Vas Crabb
b8a0ce63c4 update more stuff in top-level makefile (nw) 2020-03-05 21:31:36 +11: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
Vas Crabb
221f006442 version bump (nw) 2020-02-29 04:01:54 +11:00
Vas Crabb
0e2a252d30 version bump (nw) 2020-02-02 06:30:37 +11:00
firewave
bb3b73e58b removed the remaining bits of the FASTDEBUG/MAME_DEBUG_FAST silliness I introduced ages ago (nw) 2020-01-21 20:20:20 +01:00
Vas Crabb
13997a8f31 version bump 2019-12-24 20:48:17 +11:00
Vas Crabb
b8b7c7e232 version bump (nw) 2019-11-26 21:40:59 +11:00
Tiago Pierezan Camargo
58dde95d07 workaround to fix cross compilation to x86 from a x64 host 2019-11-12 21:43:19 +11:00
Vas Crabb
e9ef4808dd version bump (nw) 2019-10-30 04:16:37 +11:00
Julian Sikorski
6e66a83642 Odroid n2 build fixes (#5751)
* Allow specifying NO_OPENGL manually

* Switch bgfx to OpenGL ES renderer if NO_X11 is specified

* Only link against EGL when NO_X11 is specified on linux, netbsd and openbsd

* Only switch bgfx to OpenGL ES on linux, netbsd and openbsd

* Indentation fix
2019-10-18 10:31:08 -04:00
Julian Sikorski
0837e7451a WIP: sync bgfx, bx and bimg with latest upstream (#5723)
* Sync with bgfx upstream revision b91d0b6

* Sync with bx upstream revision d60912b

* Sync with bimg upstream revision bd81f60

* Add astc-codec decoder

* Rename VertexDecl to VertexLayout

* Rename UniformType enum Int1 to Sampler.

* Add NVN stub

* Fix unused-const-variable error on macOS

* Drop redundant explicit language parameters
buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only
applied to objective c++ files. As such, hardcoding -x offers no benefit while
preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on
macOS) from working.

* Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning

* Build bgfx as Objective-C++ on macOS
It is needed due to included headers

* Enable Direct3D12 and Vulkan bgfx rendering backends

* Enable building of spirv shaders

* Properly escape /c in cmd call

* Comment out dx12 bgfx renderer

* Honor VERBOSE setting during shaders build

* Only invert hlsl shader XYZ_TO_sRGB matrix for opengl

* Add spirv shaders

* OpenGL ES needs transposed matrix too

* Metal needs transposed matrix as well
2019-10-13 07:50:38 -04:00
smf-
8938bf861d vs2019_clang builds and links with portaudio disabled (nw) 2019-10-08 10:04:28 +01:00
Julian Sikorski
fc31772d53 vs2019 fixes, initial clang-cl support (#5698)
* Add initial clangcl support

* Fix uwp builds' vs version typos

* Add missing vs2019 toolchain.lua bits
2019-10-02 14:30:05 +10:00
Julian Sikorski
ed2b7e5ef1 Synced with GENie upstream revision e78d6c1 (#5631)
* Synced with GENie upstream revision e78d6c1

* Add Visual Studio 2019 support

* Fix hardcoded -m64

* Switch appveyor to Visual Studio 2019

* Fix genie being built as 32-bit

* MSVC build is known to be broken currently. Let it fail until all the known issues are fixed.

* Update the packages before building

* Build with 3 threads
Appveyor VMs have only 2 cores and 8 GB RAM.

* Enable caching of pacman cache
2019-09-29 09:30:18 -04:00
feos
29eac3a315 allow updating version.cpp when IGNORE_GIT=1 is passed
without this tweak it would only create the file if it doesn't exist, and wouldn't update an existing one
2019-09-28 18:16:58 +10:00
Vas Crabb
24d07a12d7 version bump (nw) 2019-09-25 07:25:34 +10:00
Vas Crabb
f7172322a2 version bump (nw) 2019-09-02 21:35:00 +10:00
Vas Crabb
3e538619a2 improve cleansrc target for source content and srcclean capabilities (nw) 2019-08-21 23:38:23 +10:00
Rick V
4bda0549a9 Fix Solaris 2.11 (non-Oracle) 2019-08-19 19:06:21 -05:00
Christian Groessler
573df05d47 toplevel makefile: fix 'cleansrc' target for Unix/Linux 2019-08-13 01:17:04 +02:00
Vas Crabb
1182bd9325 version bump (nw) 2019-08-03 05:05:18 +10:00
Vas Crabb
1b969a8acb version bump (nw) 2019-06-26 20:25:30 +10:00
Vas Crabb
ad45c9c609 version bump (nw) 2019-05-30 23:56:46 +10:00
Kiall Mac Innes
16bbe847ef Disable WII Lightgun hack by default (#5056) 2019-05-14 16:55:59 -04:00
hap
70f022334f fix make clean (nw) 2019-05-01 21:22:36 +02:00
Olivier Galibert
ea9cd8aea1 m680x0: gratuitously convert the generator to python [O. Galibert] 2019-04-29 22:04:15 +02:00
R. Belmont
d15ca02d0c
Merge pull request #4913 from kiall/default-enable-xinput
Enable Xinput by default
2019-04-25 09:41:49 -04:00
Vas Crabb
2b317bf296 version bump (nw) 2019-04-24 15:00:38 +10:00
Kiall Mac Innes
489087f173 Enable Xinput by default
On Linux, enable Xinput support by default. The Xinput lightgun driver is the
only reliable+accurate method to use lightguns on Linux, we should enable this
by default to reduce the friction for Linux Lightgun users. This should have no
effect on users of Windows/Mac etc.
2019-04-21 12:48:51 -07:00
Olivier Galibert
cc97857543 mu: Extract the lcd into an independant device [O. Galibert]
Eventually, the svg should be used instead of the pre-rendered ppm.
I'm a little afraid of the performance impact of the 3840 outputs
though, so one thing at a time...
2019-04-14 10:49:25 +02:00
Vas Crabb
9483624864 version bump (nw) 2019-03-27 14:30:17 +11:00
Vas Crabb
40fc33967c version bump (nw) 2019-02-27 00:40:05 +11:00
Vas Crabb
8ffff5d2d3 (nw) misc stuff:
* Document cross-compilation options
* Use lowercase for some libraries that are lowercase in system32 on Windows anyway
* Make USE_BUNDLED_LIB_SDL2=0 not use the bundled SDL
2019-02-18 21:13:44 +11:00
couriersud
764f04c317 Use OVERRIDE_CC if defined to determine GCC_VERSION. (nw)
Fixes some cross-compilation issues and most likely edge case using
OVERRIDE_CC.
2019-02-17 16:01:45 +01:00
Peter Ferrie
e769e76ce4 enable sub-second snapshot timers (nw) (#4493)
* enable sub-second snapshot timers (nw)

* switch to attotime, accept doubles

* support LLVM extension in MSVC

make vsllvm

using extension from here:

https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
2019-02-04 13:05:46 -05:00
Vas Crabb
cf02fe333a version bump (nw) 2019-01-30 04:07:32 +11:00
Vas Crabb
b691c38273 version bump (nw) 2018-12-26 01:27:31 +11:00
Miodrag Milanović
a45221458d Android compile fix (#4395)
* Fix compile for Android, set API to 24

* Update Android Studio project to API 24

* Fixed project file to latest Android Studio

* fix build with gradle alone
2018-12-11 19:38:27 -05:00
Thomas Klausner
b48eaa3443 Allow clang for FreeBSD and NetBSD. 2018-12-09 00:16:42 +01:00
Vas Crabb
c2dc4316bd (nw) fix stuff:
* Add per-language compiler flag options to help with exotic setups
* Get rid of a potention buffer overrun in NuBus image card
* CHAR_WIDTH and LONG_WIDTH are preprocessor macros in limits.h with glibc if __GLIBC_USE (IEC_60559_BFP_EXT) is enabled - avoid using them as names
* Make formats/upd765_dsk.h slightly safer with defualt initialisers for key format members
* Don't rely on random BSS data being zero in imagedev/floppy.cpp
2018-11-29 14:10:27 +11:00
Vas Crabb
c6150e7542 version bump (nw) 2018-11-28 06:12:23 +11:00
Vas Crabb
b57a140101 version bump (nw) 2018-10-31 23:23:33 +11:00
Vas Crabb
856478fbda version bump (nw) 2018-09-26 14:43:31 +10:00
Vas Crabb
4dc302ed05 version bump (nw) 2018-08-29 10:35:24 +10:00
Vas Crabb
2968620098 make rectangle work better with constexpr, change many things to use designated getters/setters (nw) 2018-07-28 02:27:53 +10:00
Vas Crabb
ff19cd3977 version bump (nw) 2018-07-25 05:45:05 +10:00
Vas Crabb
c0ab1c5aa4 (nw) srcclean and some cleanup:
* Make more #include guards follow standard format - using MAME_ as the prefix makes it easy to see which ones come from our code in a preprocessor dump, and having both src/devices/machine/foo.h and src/mame/machine/foo.h causes issues anyway
* Get #include "emu.h" out of headers - it should only be the first thing in a complilation unit or we get differences in behaviour with PCH on/off
* Add out-of-line destructors to some devices - it forces the compiler to instantiate the vtable in a certain location and avoids some non-deterministic compiler behaviours
2018-07-22 20:41:57 +10:00
Vas Crabb
f0773a505b allow multiple digits in components of clang version (see PR #3733) 2018-07-08 15:43:54 +10:00
Vas Crabb
f2e805a153 version bump (nw) 2018-06-27 08:47:35 +10:00
Julian Sikorski
fe162f615b Enable building on riscv64 (#3655)
* First attempt at enabling building on riscv64

* PTR64=1 needs to be defined on riscv64 otherwise build fails
2018-06-13 19:21:30 -04:00
Vas Crabb
c5f6a62d59 version bump (nw) 2018-05-30 02:37:58 +10:00
Vas Crabb
74293f8247 version bump (nw) 2018-04-24 23:13:22 +10:00
Vas Crabb
e70c9f9997 Merge tag 'mame0196'
MAME 0.196
2018-03-28 12:01:01 +11:00
Vas Crabb
e8f2016076 version bump (nw) 2018-03-28 01:21:46 +11:00
Julian Sikorski
9a154947d1 Added possibility of building using system pugixml 2018-03-27 10:19:22 +11:00
Vas Crabb
910d2267ca Start squeezing out the poor-performing parts of the output_manager:
* Turn deprecated declataion warnings on by default and make them non-fatal
* Make output_finder iterable in algorithms and range-based for loops
* Replace a lot of set_something with output_finder
2018-02-28 21:19:37 +11:00
Vas Crabb
e44e85b8ef version bump (nw) 2018-02-28 02:59:06 +11:00
Julian Sikorski
8cc758355d Enable use of system-wide asio, glm and rapidjson (#3172)
* Fixed building using system utf8proc

* Fixed building using system portaudio

* Allow using system-wide asio headers (1.11.0 or higher required).

* Allow using system-wide glm headers

* Allow using system-wide rapidjson headers
2018-02-08 16:06:25 -05:00
Vas Crabb
5be2496d0c version bump (nw) 2018-01-31 05:48:02 +11:00
Oliver Stöneberg
35e5a75243 restored SANITIZE make option (#3043)
* restored basic support for SANITIZE make option

* disabled some unwanted UBSAN checks / enabled nullability checks / enabled ASAN use-after-scope checks (nw)
2018-01-11 19:18:12 -05:00
Vas Crabb
bf28b347fb version bump (nw) 2017-12-27 12:45:37 +11:00
Vas Crabb
d771f54227 version bump (nw) 2017-11-29 05:24:46 +11:00
Vas Crabb
a5db728b9c version bump (nw) 2017-10-25 11:30:18 +11:00
Vas Crabb
2851d7d6cd (nw) Improve localisation:
* Change makefile rules to treat mame.pot as a target so rules can depend on it
* Put mame.pot inside the build directory so it will get cleaned
* Couldn't get xgettext to scrape lua and C++ in the same command and still remove stale strings
* Use larger strings and format specifiers to fix some localisation issues
  - Issue with "None" lacking context in Russian and Turkish translations
  - Issue with "Not implemented" changing depending on the noun in Serbian
  - Issues with lua plugins not allowing for languages with different grammar/punctuation

Strings that need to be translated after this change - most of these are existing text that's been made into larger chunks or reworded slightly:

"Mechanical Machine\tYes\n"

"Mechanical Machine\tNo\n"

"Requires Artwork\tYes\n"

"Requires Artwork\tNo\n"

"Requires Clickable Artwork\tYes\n"

"Requires Clickable Artwork\tNo\n"

"Support Cocktail\tYes\n"

"Support Cocktail\tNo\n"

"Driver is BIOS\tYes\n"

"Driver is BIOS\tNo\n"

"Support Save\tYes\n"

"Support Save\tNo\n"

"Screen Orientation\tVertical\n"

"Screen Orientation\tHorizontal\n"

"Requires CHD\tYes\n"

"Requires CHD\tNo\n"

"ROM Audit Result\tOK\n"

"ROM Audit Result\tBAD\n"

"Samples Audit Result\tNone Needed\n"

"Samples Audit Result\tOK\n"

"Samples Audit Result\tBAD\n"

"ROM Audit Disabled\t\n"
"Samples Audit Disabled\t\n"

"Activated: %s = %s"

"Activated: %s"

"Enabled: %s"

"Disabled: %s"

"%s added"

"Default name is %s"

"Cheat written to %s and added to cheat.simple"

"Unable to write file\n"
"Ensure that cheatpath folder exists"
2017-10-03 10:49:30 +11:00
cracyc
8ca63912a2 add lua translation to makefile and update translations 2017-09-29 01:49:22 +10:00
Vas Crabb
f57574c238 version bump (nw) 2017-09-27 11:30:10 +10:00
Vas Crabb
2beedc540f version bump (nw) 2017-08-30 10:05:26 +10:00
Miso Kim
41e044ae01 Modification for Android build (NDK r14b, build-tools 21.1.2 and gradle 2.2.1) (#2585) 2017-08-23 13:09:38 +10:00
Vas Crabb
7b45ec19f1 version bump (nw) 2017-07-26 09:15:29 +10:00
Vas Crabb
1d9648b01c version bump (nw) 2017-06-28 09:19:31 +10:00
Vas Crabb
e4c6cb15e0 version bump (nw) 2017-05-31 09:08:49 +10:00
Vas Crabb
fe01a1342c version bump (nw) 2017-04-26 09:02:36 +10:00
Vas Crabb
7768128734 version bump (nw) 2017-03-29 14:12:20 +11:00
Vas Crabb
4ee22dce05 version bump 2017-02-22 08:21:10 +11:00
Julian Sikorski
c50ddac28b Fixed building using system utf8proc 2017-01-26 09:28:21 +11:00
Vas Crabb
22c42abfdf version bump (nw) 2017-01-25 09:44:30 +11:00
Brad Hughes
c1c379a0fb Fix UWP Build - no portaudio support (nw) 2017-01-16 15:48:06 -05:00
inte alls
cd03a64284 Initial PortAudio backend with build script changes to support library version 20161030 2017-01-11 20:24:00 +01:00
Vas Crabb
304836a55c make DEBUG=0 and SYMBOLS=0 behave (nw) 2017-01-02 18:41:42 +11:00
Vas Crabb
bbeda6ad99 version bump (nw) 2016-12-27 10:09:29 +11:00
Vas Crabb
127fd9b427 first srcclean pass (nw) 2016-12-25 13:57:31 +11:00
Miodrag Milanovic
124f30dbbc Enable building projects that are separate of MAME but use same core and lives in separate git tree (nw) 2016-12-08 11:46:15 +01:00
Vas Crabb
cfc8419567 Version bump 2016-11-27 09:59:14 +11:00
Logan B
6c133b7450 Remove USE_BGFX option (nw)
Wasn't removed when mmicko did 9eb2734495
2016-11-27 03:22:25 +13:00
Miodrag Milanovic
8e61a7d3d3 Added VS2017 support into project files (nw) 2016-11-16 21:00:29 +01:00
Miodrag Milanovic
0d1f5b6be4 Make 3rdparty compile for UWP and start adding new OSD for UWP based on previous Brad work (nw) 2016-11-09 14:53:19 +01:00
Julian Sikorski
e7bbbf4f45 Fixed building on s390x 2016-11-07 23:42:32 +01:00
Julian Sikorski
6ff12773a8 Fixed building on ppc64le 2016-11-07 21:35:51 +01:00
Miodrag Milanovic
cf4a8b9e03 resurected sqlite3 and lsqlite3 (nw) 2016-11-07 16:12:06 +01:00
Branimir Karadžić
a3b4058bf7 Updated BGFX and BX and recompiled shaders (nw) 2016-10-29 09:11:50 +02:00
Justin Kerk
b99be73f2d Experimental support for compiling to WebAssembly using Emscripten (not yet working) (nw) 2016-10-29 06:00:45 +00:00
Vas Crabb
32b7e58d94 Version bump! 2016-10-26 10:45:58 +11:00