summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/3rdparty.lua
Commit message (Collapse)AuthorAgeFilesLines
* DRC cleanup and minor optimisation: [Windy Fairy, Vas Crabb] Vas Crabb2025-01-161-7/+0
| | | | | | | | | | | | | | | * Build all native back-ends if any native back-end is enabled so errors caused by changing interfaces can be found faster. * cpu/drcbeut.cpp: Moved resolved member function stuff to a place where it can be shared by back-ends. * cpu/drcbearm64.cpp: Use ubfx instruction to extract unordered flag. * cpu/drcbearm64.cpp, cpu/drcbex64.cpp: Bypass trampolines when calling get map variable value and debugger instruction hook functions. * cpu/drcbearm64.cpp: Moved some internal helpers that don't need to be members to anonymous namespace. * cpu/drcbearm64.cpp: Added a comment with some info to help when debugging generated code. * cpu/drcbec.cpp: Put code in the drc namespace.
* cpu/drcbearm64.cpp: Added a 64-bit ARMv8 (AArch64) DRC back-end. (#13162) 9871238791132025-01-141-30/+40
| | | | | * cpu/uml.cpp: Removed unused vector type. * 3rdparty/asmjit: Update asmjit to latest upstream. * cpu/drcbex64.cpp: Fixed crash with LOG_HASHJMPS enabled (stack needs to be 16-byte aligned before calling debug_log_hashjmp_fail).
* build: adjust msvc warning settings Patrick Mackinlay2025-01-031-0/+3
|
* 3rdparty/lzma: Don't treat K&R function definitions as an error. (#13080) FlykeSpice2025-01-011-0/+1
| | | Some AArch64-specific code in C/CpuArch.c uses () when it should be using (void).
* Fixed cross-compiling bgfx for MinGW under Linux. (#13073) FlykeSpice2024-12-141-1/+1
|
* fix windows build Patrick Mackinlay2024-11-281-1/+1
| | | | | * use MPARAM for GENie build architecture * avoid escaping issue in 3rdparty/expat
* scripts/3rdparty.lua: Enabled -Wno-tautological-compare for BGFX in order to ↵ arbee2024-10-261-0/+1
| | | | | | evaluate turning it off for MAME. [R. Belmont] cpu/es5510: Removed hack that never could possibly have worked, comparing a uint8_t to a 24-bit constant. [R. Belmont]
* cpu/m68000: Updated 680x0 FPU to Softfloat 3 from 2. (MT5411 and MT8793). ↵ arbee2024-05-271-0/+13
| | | | | | | | | | | | | | | | | | [R. Belmont] - Update to Softloat 3 from 2 - FREM and FMOD now generate the quotient bits in FPSR, required by Apple's SANE to do sin/cos/tan properly. - FMOVE of a float to a Dx integer register generates the exception status bits, fixing square roots in SANE - Rewrote how FMOVEM instructions are decoded and executed, fixing issues including skipping too few or too many opcode bytes and causing serious weird behavior. - FPU instructions all now have more realistic cycle timings for a 68881. - All FPU instructions now generate exception bits in FPSR. 3rdparty/softfloat3: Updates [R. Belmont] - Softfloat3 was always being built for a big-endian host, causing incorrect math on LE x64 and AArch64 machines. - Fixed up Softfloat3 to build properly as part of MAME and up-ported the Bochs extensions. In latest Bochs, they were only partially up-ported and Softfloat3 had been hacked up to be more like 2; here they're fixed to work with stock Softfloat3.
* 3rdparty/asmjit: Updated to upstream version 1.13.0. (#12228) Patrick Mackinlay2024-04-111-1/+5
| | | From revision asmjit/asmjit@e5d7c0bd5d9aec44d68830187138149e6a8c4e32
* Add C compiler flags for Wayland EGL backend to bgfx build options (#12216) Julian Sikorski2024-04-071-0/+3
|
* Added Zstandard support for zip archives and CHDs. (#11827) Vas Crabb2023-12-111-5/+58
| | | | | | * 3rdparty/zstd: Added Zstandard compression library version 1.5.5. * util/unzip.cpp: Added support for Zstandard compression (method 93). * util/chdcodec.cpp: Added support for Zstandard compression. * 3rdparty/flac: Always define NDEBUG to avoid log spam.
* Tied up loose ends: Vas Crabb2023-12-061-22/+2
| | | | | | * Updated copyright for FLAC. * Enabled some more warnings for LZMA now that upstream is cleaner. * Removed Subversion attributes from .gitattributes.
* 3rdparty: Renamed libflac to flac - it's a full FLAC distribution, libFLAC ↵ Vas Crabb2023-12-061-30/+30
| | | | is just a small part of it.
* 3rdparty/libflac: Updated to version 1.4.3. Vas Crabb2023-12-061-10/+72
| | | | Also removed FLAC documentation - it's a lot of bloat.
* 3rdparty/lzma: Updated to version 23.01. Vas Crabb2023-12-061-11/+7
|
* 3rdparty/utf8proc: Updated to 2.9.0. Vas Crabb2023-12-061-5/+0
|
* 3rdparty/zlib: Updated to 1.3.0. Vas Crabb2023-12-061-6/+0
|
* Revert "3rdparty/portaudio: Enabled PulseAudio backend for Linux. [invertego]" Vas Crabb2023-11-201-11/+0
| | | | | | | This reverts commit c5927d37e7ccf9d67d4faa535b90d417f0c42f45. PortAudio's PulseAudio backend currently has issues. We'll sit this out until that's sorted out upstream.
* 3rdparty/portaudio: Suppress clang unused label warning. Vas Crabb2023-10-241-1/+2
|
* 3rdparty/portaudio: Enabled PulseAudio backend for Linux. [invertego] Vas Crabb2023-10-241-0/+11
|
* 3rdparty/portaudio: Updated to latest upstream version. (#11604) invertego2023-10-091-0/+8
| | | | | | | Up-to-date with revision 24c8d575e588d557d28f4011becb753421346860. Resolves issues building with Visual Studio. Enabled PortAudio when building with Visual Studio and clang-cl. docs: Removed note about duplicate GUID symbols in PortAudio when built with MSVC.
* render/drawbgfx.cpp: Added initial support for Wayland on Linux. (#11451) Julian Sikorski2023-09-291-0/+5
|
* 3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on ↵ Julian Sikorski2023-09-291-1/+0
| | | | Linux. (#11539)
* Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)" Vas Crabb2023-09-081-0/+2
| | | | This reverts commit 1c61ccfe840cdae7a9f92292946a45f3b47e2412.
* Updated bgfx, bx and bimg to current upstream versions. (#11493) Julian Sikorski2023-09-061-2/+0
| | | | | | * Reverted "macOS, iOS: Removed OpenGL/OpenGLES support. (commit 4693983242a698eaafed87faf4ffef1789adc8f9). * Reverted "Fix macOS build" (commit ce2c2c13eda7d699051f75f598e740a447343a88). * Reverted "macOS: Fixed deprecated warnings." (commit 10a8cb61f882ebc9bb376ee2341d003880b7037f). * Added bgfx/README.mame explaining deviations from upstream.
* Fixed MinGW AArch64 issues: (#11521) invertego2023-09-021-1/+1
| | | | * 3rdparty/bimg: Don't enable SSE on MinGW arm64 targets. * diagnostics/diagnostics_win32.cpp: Added Windows arm64 support.
* js_sound.js: fix sound level default for underrunning case (#11317) holub2023-07-241-0/+8
|
* 3rdparty/lzma: Updated to LZMA SDK version 22.01 Vas Crabb2023-05-041-8/+23
|
* 3rdparty: Another attempt to satisfy Windows Clang. [R. Belmont] arbee2023-04-011-1/+2
|
* 3rdparty.lua: Windows Clang needs another warning suppression for PortAudio. ↵ arbee2023-04-011-0/+1
| | | | [R. Belmont]
* 3rdparty.lua: Fix clang build after portaudio update AJR2023-04-011-0/+2
|
* PortAudio: sync to upstream GitHub revision ↵ arbee2023-04-011-5/+0
| | | | | | | 0e9b386a1053261340bc8bb32335484ef77b258b [R. Belmont, PortAudio team] * Tested and works on Windows, macOS, and Linux. * Fixes compatibility with macOS Ventura and bugfixes WASAPI and WDM-KS on Windows.
* Reduce warnings that need to be suppressed to build linenoise. Vas Crabb2023-03-071-6/+0
|
* Updated forked linenoise to latest upstream. Vas Crabb2023-03-071-343/+348
| | | | | | | | | | This removes the need to force it to build as C++, and adds proper UTF-8 support for Windows. Since this is a fork of linenoise, there's no hope for getting lua-linenoise to sync with it upstream. I made the bare minimum changes to keep it working, but didn't add bindings for new functionality (e.g. multi-line editing).
* 3rdparty: Avoid the need for -fpermissive since clang doesn't like it. Vas Crabb2023-03-071-6/+5
| | | | I'll try to get some of this upstreamed.
* Various updates, mostly around Lua: Vas Crabb2023-03-071-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compile Lua as C++. When Lua is compiled as C, it uses setjmp/longjmp for error handling, resulting in failure to unwind intermediate stack frames. Trying to ensure no objects with non-trivial destructors are in scope when raising a Lua error is error-prone. In particular, converting an exception to a Lua error becomes convoluted, and raising a Lua error from a constructor is effectively impossible. Updated Lua to 5.4.4 - this includes a brand-new garbage collector implementation with better performance. The main thing removed is the deprecated bitlib. Updated sol2 to version 3.3.0 - this adds support for Lua 5.4 and fixes a number of issues, including not correctly handling errors when Lua is built as C++. Updated LuaFileSystem to version 1.8.0 - this adds support for symbolic links on Windows, as well as Lua 5.4 compatibility. Updated LuaSQLite3 to version 0.9.5 - this fixes issues in multi-threaded environments, as well as Lua 5.4 compatibility. Fixed double-free after attempting to construct a debugger expression from Lua with an invalid string, and exposed expression error to Lua in a better way. Added warning level print function to Lua. Fixed saving cheats with shift operators in expressions, although this code isn't actually used as there's no cheat editor.
* Removed local copy of SDL source and update Android build support. (#10899) Miodrag Milanović2023-02-271-507/+5
| | | | | | | | | * Removed SDL2 source. * Updated gradle. * Updated SDL2 Java support glue code. * Increased minimum supported Android API version to 24. * Updated required asset files for Android app. * Added proper tag for Android logging. * Added SDL2 hint to make BGFX work on Android.
* 3rdpary/bimg: Just disable SSE on all 32-bit builds to be safe. Vas Crabb2023-02-201-2/+2
|
* 3rdparty/bimg: Try to keep all the builds working. Vas Crabb2023-02-191-1/+1
|
* 3rdparty/bimg: Disable SSE on 32-bit x86 - it assumes x86-64 integer ALU is ↵ Vas Crabb2023-02-191-1/+8
| | | | available when using SSE.
* srcclean and bump copyright date on language files to 2023 Vas Crabb2023-02-191-1/+1
|
* 3rdparty: Suppress unused variabe warnings for SQLite3 - clang 15.0.5 for ↵ Vas Crabb2023-01-131-0/+1
| | | | Windows considers sqlite3_os_type unused.
* Fix compile error on mingw due to invalid setting for ASTCENC_SSE (#10824) Justin Kerk2023-01-111-1/+1
|
* i386: fix fpu log2 and atan cracyc2023-01-091-0/+1
|
* Fix parameters for mingw build Miodrag Milanovic2023-01-051-0/+7
| | | | (cherry picked from commit a864b4e5d420893b603d590867720f21d7b21f5a)
* Update BGFX, BX and BIMG (#10789) Miodrag Milanović2023-01-051-14/+51
| | | | * Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* Revert "Update BGFX, BX and BIMG (#10750)" (#10787) R. Belmont2023-01-041-51/+14
| | | This reverts commit 5581eaa50a42256242f32569f59ce10d70ddd8c2 due to link failure on macOS.
* Update BGFX, BX and BIMG (#10750) Miodrag Milanović2023-01-041-14/+51
| | | | * Update to bgfx a93a714632b79b5ddbf5c86ac323fa9b76ed3433 Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
* fix visual studio builds after bdb9404c08908249210be53ddd640c165e6df1ed smf-2022-09-151-1/+1
|
* fixes for clang 15.0 on windows [smf] smf-2022-09-151-0/+6
|