Commit Graph

440 Commits

Author SHA1 Message Date
Stiletto b0a3c48865
adding the recent to 3rdparty README.md (nw)
adding the recent to 3rdparty README.md (nw)
2019-08-07 05:41:23 -04:00
Vas Crabb 37e80d9762 use dual-licensed GPLv2/MIT TAP for Windows header (nw) 2019-08-07 11:37:30 +10:00
Olivier Galibert f9bcdcbbc9 via6522: Change most mappings into m() [O. Galibert] 2019-07-07 17:15:17 +02:00
Windy Fairy ab8dbd3db0 Partial support for encrypted audio in k573dio (Konami System 573 Digital I/O) (#5055)
* Add support for pcnfrk2m - Percussion Freaks 2nd Mix (GE912 VER. KAA)

* WIP audio for k573dio

* WIP

* Move 3rd party library to 3rdparty folder

* Use MAME's BIT and bitswap

* Fix regression which caused songs to stutter/lag when they should have been read completely in one shot

* Replace gain_to_db switch with equivalent math
2019-05-15 20:17:00 -04:00
arbee 2075a8e2a0 fix non-Apple Clang (nw) 2019-03-28 00:39:33 -04:00
arbee 2c3395cf8b Fix compiling with Xcode 10.2 on macOS (nw)
This shouldn't affect any other Clang configurations (or any older Xcodes); LMK if problems occur.
2019-03-27 20:35:31 -04:00
Vas Crabb 97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
couriersud d208ca5105 3rdparty/lua: Fix clang 9 compile. (nw) 2019-02-23 18:54:28 +01:00
cracyc 836abb0d63 plugins/console: command history (nw) 2019-02-17 09:07:56 -06:00
Peter Ferrie 4e04aa3224 silence MS-LLVM (nw) 2019-02-16 11:49:07 -08:00
couriersud 182a06055f Fix 3rdparty/asio to compile with libc++ 9.0. (nw) 2019-02-13 22:35:19 +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
Peter Ferrie d199ec2657 fix MSVC (llvm toolset) compile (nw)
- conditionally uninitialised variables in PortAudio;
- floats passed to attotime;
- unsigned->signed enums (this one is technically still wrong)
2019-01-06 18:17:35 -08: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
Olivier Galibert a0f1fb2698 fixes, gee (nw) 2018-12-06 18:40:48 +01:00
mooglyguy 0bd02131b6 3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz] 2018-12-05 19:45:08 +01:00
arbee bb2eaa50ff GENie: support for macOS Mojave (10.14) [R. Belmont] 2018-09-28 00:30:31 -04:00
smf- 444861f487 fixed typo (nw) 2018-08-29 15:33:55 +01:00
smf- c10977e7d5 default to 64 bit microsoft compiler (nw) 2018-08-29 10:21:35 +01:00
smf- cff76a60a0 workround so you can still compile if you install the 15.8 update, as long as you install the 14.14.26428 compiler as well (nw) 2018-08-26 20:41:11 +01:00
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
Vas Crabb a1ecd03c9d Fix softfloat3 build with MSVC 32-bit. Apparenly it's all-or-nothing with built-in leading zero count. (nw) 2018-05-27 22:08:35 +10:00
Patrick Mackinlay 4f9ef3e373 softfloat3: fix msvc build (nw) (#3566)
* softfloat3: fix msvc build (nw)

Is this how we do these things? I assume we don't touch the library code itself, and have to "fix" any problems via this header instead?

* softfloat3: do we like this better? (nw)

* softfloat3: it gets the hose again (nw)

* softfloat3: sonofa (nw)
2018-05-14 09:18:24 -04:00
arbee 62be291842 Initial import of SoftFloat release 3E [R. Belmont]
This is a pre-usage import so everyone can get things in line for various compilers.  GCC/Clang should be OK on most targets as-is;
MSVC may need to edit 3rdparty/softfloat3/build/MAME/build.h to conform.  Please report failure/success with various compilers.
2018-05-13 19:52:33 -04:00
MetalliC 9698154172 temp workaround for gcc 7.3 (nw) 2018-01-27 17:40:38 +02:00
Miodrag Milanovic 3917627494 Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic] 2017-12-01 13:22:27 +01:00
Justin Kerk 9e8160cf7e Fix compile warning under Emscripten (#2552) (submitted to upstream asio) (nw) 2017-10-17 01:55:57 +00:00
smf- 20d1c78b61 Changed the clang workround for ../../../../../3rdparty/compat/winsdk-override\wrl/internal.h:23:13: error: function declared 'noreturn' should not return [-Werror,-Winvalid-noreturn] to work with clang 5.0 (nw) 2017-09-24 17:49:36 +01: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
cracyc 81079946a4 luaengine: debugger_manager support [Carl] 2017-07-23 20:41:08 -05:00
Vas Crabb df507ea2a5 work around older libc (nw) 2017-05-17 14:09:56 +10:00
smf- f3d8984612 fix for MSVC build (nw) 2017-05-16 11:04:48 +01:00
cracyc 4ebc18aeec linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
Miodrag Milanovic 13b0a2158e Fix linking order (nw) 2017-04-01 19:07:50 +02:00
Miodrag Milanovic 3fff3faf6c proper fix (nw) 2017-03-30 08:36:15 +02:00
Vas Crabb ced3087742 assume LLVM libc++ if __llvm__ is defined but __GLIBC__ is undefined 2017-03-30 16:29:33 +11:00
dankan1890 b7adbf5438 VS fix. (nw) 2017-03-29 22:25:54 +02:00
Miodrag Milanovic 0921d7aaae 2nd try (nw) 2017-03-29 18:14:35 +02:00
Branimir Karadžić 88ca8d5b48 Update GENie (nw) 2017-03-29 17:31:27 +02:00
Branimir Karadžić 49f7c99c77 Update BGFX and BX (nw) 2017-03-29 17:09:40 +02:00
Vas Crabb feb7c5dc79 Update GLM to tip of stable branch (0.9.8.5 pre-release) - fixes build with MacPorts clang
(nw) In future, could people please use stable branches when updating
3rd-party libraries, not unstable development snapshots?  It will help
with stability.
2017-02-25 14:11:44 +11:00
Olivier Galibert 773e541626 portaudio: minimal const-correctness 2017-02-08 13:34:09 +01:00
Miodrag Milanovic e6838eb5c4 LUA to 5.3.4 (nw) 2017-02-05 16:17:00 +01:00
Miodrag Milanovic 8d1eb8e410 Update GLM to latest (nw) 2017-02-05 16:06:08 +01:00
Miodrag Milanovic ac096aa2a0 Update sol2 (nw) 2017-02-05 16:06:06 +01:00
Miodrag Milanovic 02c97cd0f7 Updated Catch to latest (nw) 2017-02-05 15:46:07 +01:00
Branimir Karadžić 1607745432 Update BGFX and BX (nw) 2017-02-05 13:56:35 +01:00
Branimir Karadžić 193e8c8a89 Update GENie 2017-02-05 13:54:19 +01:00
hap 78a7342750 updated libjpeg to 9c (nw) 2017-01-25 17:49:53 +01:00
hap 93c92be815 updated to zlib 1.2.11 (nw) 2017-01-25 17:15:54 +01:00
smf- dffac52f34 Fixed building with clang on windows, built with clang 3.91, gcc 6.3.0 & msvc 2015 (nw) 2017-01-20 13:17:54 +00:00
R. Belmont 7b32ed03e8 Merge pull request #1989 from intealls/pa-cc
Fix MinGW cross-compilation, for real this time
2017-01-16 15:50:16 -05:00
intealls 6a15ddca71 Fix MinGW cross-compilation, for real this time 2017-01-16 19:06:46 +01:00
yz70s 487cd9395c bx: fix some mistakes that have already been corrected in upstream (nw)
Same as e0936a0278
2017-01-16 18:47:49 +01:00
intealls 28aa7060f8 Fix PortAudio MinGW cross-compilation 2017-01-15 19:59:31 +01:00
R. Belmont 32c13ad929 Merge pull request #1959 from intealls/pa_oct16
PortAudio library update and backend
2017-01-12 20:30:12 -05:00
Brad Hughes a8bdf646f5 UWP asio fix. Already sent pull request upstream (nw) 2017-01-11 15:19:12 -05:00
inte alls 37e8b161d8 Patch PortAudio to fix MinGW compilation 2017-01-11 20:22:33 +01:00
inte alls 6b0069a9b6 Update PortAudio to version 20161030 2017-01-11 20:21:24 +01:00
Vas Crabb 189052cd58 Hopefully fix build for everyone - someone please work out a way to make the bgfx examples build on platforms with/without the POSIX 2008 strnlen function (nw) 2017-01-07 02:12:45 +11:00
Vas Crabb c9647f6e28 debugger: use 0o for octal prefix, and add support for binary with 0b a la C++, also support uppercase radix speifier 2017-01-06 15:37:43 +11:00
Branimir Karadžić fadb547f63 Updated BGFX (nw) 2017-01-02 14:05:50 +01:00
Branimir Karadžić 04faaaf7ff Update BX (nw) 2017-01-02 14:04:09 +01:00
Branimir Karadžić a642e29ecd Update GENie (nw) 2017-01-02 14:03:29 +01:00
Miodrag Milanovic e984b7b5b7 Updated to zlib 1.2.9 (nw) 2017-01-02 14:01:23 +01:00
Nathan Woods d863b6e90b Added more conditionals around #define's of UTF8PROC_DLLEXPORT 2016-12-31 20:27:29 -05:00
Nathan Woods 5be1b8e6e0 Introduced utf8proc and created wrapper code to expose a prettier API 2016-12-31 11:17:07 -05:00
R. Belmont 24c43b94a0 Revert "update git ignore list. (nw)" 2016-12-02 16:41:20 -05:00
dankan1890 ea60e6f73e Why ignore scripts.c ? 2016-11-29 01:44:02 +01:00
Miodrag Milanovic e5678fd689 you can't change just generated script (nw) 2016-11-19 09:48:03 +01:00
Vas Crabb c5722bca13 Fix make VERBOSE=1 not showing archive commands for static libraries [Happy]
someone send this upstream for me (nw)
2016-11-19 08:06:04 +11:00
Vas Crabb 8179a84458 Introduce u8/u16/u32/u64/s8/s16/s32/s64
* New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h"
* Get rid of import of cstdint types to global namespace (C99 does this anyway)
* Remove the cstdint types from everything in emu
* Get rid of U64/S64 macros
* Fix a bug in dps16 caused by incorrect use of macro
* Fix debugcon not checking for "do " prefix case-insensitively
* Fix a lot of messed up tabulation
* More constexpr
* Fix up many __names
2016-11-19 05:38:48 +11:00
Vas Crabb bb99eba11d Update LZMA to 16.04 (security and portability fixes) 2016-11-18 20:37:20 +11:00
Miodrag Milanovic da1c0c867b generate proper SLN header (nw) 2016-11-16 21:21:12 +01:00
Miodrag Milanovic ffc04d2bae Sync with GENie and addition of VS2017 (nw) 2016-11-16 21:00:28 +01:00
Miodrag Milanovic 47a05778bf Updated SDL2 to 2.0.5 (nw) 2016-11-16 16:28:01 +01:00
cracyc a68d423992 luaengine: use initializers (nw) 2016-11-15 22:21:07 -06:00
Miodrag Milanovic be98f6b83a Added Catch testing library (nw) 2016-11-12 10:20:42 +01:00
Miodrag Milanovic 29212523d2 remove googletest (nw) 2016-11-12 10:16:38 +01:00
Miodrag Milanovic a18497e7a2 Some more work on UWP (nw) 2016-11-10 13:13:51 +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
cracyc 673e753621 update sol2 (nw) 2016-11-07 13:31:30 -06:00
Miodrag Milanovic cf4a8b9e03 resurected sqlite3 and lsqlite3 (nw) 2016-11-07 16:12:06 +01:00
Miodrag Milanovic d91005ebc3 Fixed clear typo in ASIO, sent upstream (nw) 2016-11-07 10:36:40 +01:00
Miodrag Milanovic f3723e3a5d do not take Ctrl-Z since that have it's behavior defined for Linux (nw) 2016-11-07 09:17:17 +01:00
cracyc 65c3796e33 plugins/console: further improve completions by removing break chars from linenoise that hide the full type (nw) 2016-11-06 21:36:26 -06:00
cracyc 846dfa8ffd Merge pull request #1642 from cracyc/luaconsole
Make console a Lua plugin
2016-11-06 18:57:19 -06:00
cracyc 196c841dcb update sol2 (nw) 2016-11-06 18:57:12 -06:00
cracyc a6aaa59d19 lua-linenoise: add preload (nw) 2016-11-06 13:41:46 -06:00
cracyc 6fd9586a89 make safe usertypes safer (nw) 2016-11-06 13:31:37 -06:00
Miodrag Milanovic c2a75cb179 Updated sol2, made lua console not crash for nil data (nw) 2016-11-06 10:05:36 +01:00
Miodrag Milanovic 421b5e2638 Added lua-linenoise by Carls request (nw) 2016-11-04 15:25:21 +01:00
Miodrag Milanovic 093609dc0c Update pugixml library, no override patches anymore (nw) 2016-11-03 20:13:19 +01:00
Miodrag Milanovic 008ecbfd5c small cleanup (nw) 2016-11-03 11:23:48 +01:00
Miodrag Milanovic 330e3cb28e Finally sync with GENie, no more local changes (nw) 2016-11-03 10:04:29 +01:00
Miodrag Milanovic 9b819d1302 Patches to keep same behavior as we had before (nw) 2016-11-02 08:41:58 +01:00
Miodrag Milanovic 6c390127c2 Update to latest GENie (nw) 2016-11-02 08:36:07 +01:00
Branimir Karadžić a3b4058bf7 Updated BGFX and BX and recompiled shaders (nw) 2016-10-29 09:11:50 +02:00
Miodrag Milanovic ddb290d5f6 NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
2016-10-22 13:13:17 +02:00