Commit Graph

567 Commits

Author SHA1 Message Date
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
Miodrag Milanovic
ab9fd24fbb forgot to commit this one (nw) 2016-10-22 13:27:35 +02:00
Miodrag Milanovic
c0a5494de5 Replaced code usage of libuv with asio library (nw) 2016-10-07 14:15:01 +02:00
Vas Crabb
e2641a33c1 Version bump 2016-09-28 12:05:20 +10:00
Vas Crabb
ce743b9981 srcclean (nw) 2016-09-28 11:43:48 +10:00
Vas Crabb
dc9f8852b3 Bump that too 2016-08-31 16:07:45 +10:00
Miodrag Milanovic
62fe8b8980 some C++14 features are not supported by VS2013. VS2015 is free for home use so no need for legacy support (nw) 2016-08-27 11:15:38 +02:00
Miodrag Milanovic
4f84793a05 made proper formats compiled only if needed (nw) 2016-08-12 18:27:54 +02:00
Miodrag Milanovic
4887ce1844 Cleanups and version bump 2016-07-27 09:26:22 +02:00
Jordi Mallach
0e5db039d8 Add arch defines for Linux alpha and mips64el.
Add detection for Linux architectures alpha and mips64el, to avoid
using gcc -m64, which isn't available on them.
2016-07-14 01:01:04 +02:00
Vas Crabb
31c4a81369 misc fixes (nw)
* remove a temporary
* fix deps
* remove a vestigial member
* play nicer with dotfiles
* play nicer with pch
2016-07-12 13:09:42 +10:00
Miodrag Milanovic
1b00260f3f documented shaders compile (nw) 2016-07-02 18:24:57 +02:00
Miodrag Milanovic
acc5713f1e this does not belong here (nw) 2016-07-02 18:15:09 +02:00
Miodrag Milanovic
cb41d1f091 no need to build all tools, just shaderc (nw) 2016-07-02 18:07:04 +02:00
Jeffrey Clark
e3217681a7 android avoid generating unnecessarily (nw) 2016-06-30 16:31:16 -05:00
Miodrag Milanovic
63f9a01f8c Cleanup and version bump 2016-06-29 08:34:30 +02:00
Jeffrey Clark
c35dee1371 cmake generate, posix on windows (nw) 2016-06-13 18:11:51 -07:00
Vas Crabb
bd4f90db2e Fix with cmd.exe shell 2016-06-10 01:27:12 +10:00
Vas Crabb
89466e4937 Fix travis 2016-06-10 01:08:12 +10:00
Vas Crabb
93cd0cd40b Fix git version [Vas Crabb]
* git version is set by top-level make, not just when GENie runs
* can set IGNORE_GIT=1 for make to ignore git
* git ignored/unavailable uses "unknown" in version string
* mark modified trees as dirty
* note that version now comes from makefile
2016-06-10 00:36:29 +10:00
Miodrag Milanovic
ebd8e7d74b Added initial ninja support to use add MAKETYPE=ninja to compile command line (nw)
Custom build tasks are not yet working
2016-06-09 13:46:36 +02:00
Miodrag Milanovic
e8cb3e06d0 Updated GENie to latest (nw) 2016-06-08 20:42:23 +02:00
Jeffrey Clark
bbda9d38b7 android: 64bit strip, platform version support (nw)
cleanup make targets and configuration rules
fix android_ndk_root env test
2016-06-05 22:24:25 -05:00
Jeffrey Clark
2e8521cde0 fix android target libSDL2 circular ref (nw)
also rename ANDROID_NDK_ROOT -> ANDROID_NDK_LLVM to point directly to
prebuilt host compiler (removes windows only restriction).
2016-06-04 00:34:43 -05:00
Jeffrey Clark
551d9998f5 support msbuild from posix shell
preliminary fastbuild support (experimental in genie)
2016-05-31 20:26:34 -07:00
Miodrag Milanovic
d04f921034 removed not used libraries, and commented portaudio that will be used but no need for now (nw) 2016-05-31 20:03:39 +02:00
Frederic Cambus
7541a888dc Allow building on OpenBSD 2016-05-19 23:11:43 +02:00
dankan1890
06c4998564 fixed MSBUILD. nw 2016-05-19 10:03:59 +02:00
Miodrag Milanovic
be67262fc2 INC -> HXX makes editors and code analyzers see it as C++ (nw) 2016-05-01 20:27:50 +02:00
Miodrag Milanovic
956bce25e3 renamed not used files and fix for ymmu100 (nw) 2016-05-01 19:09:57 +02:00
Miodrag Milanovic
4f3b0234ea minus sign in subtarget creates problems (nw) 2016-05-01 12:37:48 +02:00
Miodrag Milanovic
8e90e8e0c0 fix empty dir creation (nw) 2016-04-29 08:50:27 +02:00
Miodrag Milanovic
247a1bca50 do regenerate of project files when building shader tools, and removed precompiled when doing clean (nw) 2016-04-29 08:16:43 +02:00
Miodrag Milanovic
ff27716bec compile just one chain with
make shaders CHAIN=unfiltered
2016-04-21 15:21:08 +02:00
Miodrag Milanovic
816860f2d8 no error output if first time run (nw) 2016-04-16 17:24:57 +02:00
Miodrag Milanovic
3e8559ad7b Always rebuild version.cpp when there is git version change (nw) 2016-04-16 17:18:17 +02:00
Miodrag Milanovic
6bb33aa52c Add short git version if building non-release build, also if git command is not available or if .git is not there (so building out of other sources) (nw) 2016-04-16 10:19:59 +02:00