Commit Graph

529 Commits

Author SHA1 Message Date
holub
52f1f3ac1c
3rdparty/zlib: Updated to 1.3.1. (#13505) 2025-03-26 21:52:28 -04:00
hap
1b4a43302d softfloat: remove unused global LITTLEENDIAN/BIGENDIAN macros, as well as TRUE/FALSE macros 2025-03-15 19:00:34 +01:00
Vas Crabb
877307dffe 3rdparty/expat: Hopefully fix macOS build properly. 2025-03-12 18:10:26 +11:00
Vas Crabb
ed02d60d9a 3rdparty/expat: Added dummy expat_config.h to hopefully fix macOS buid. 2025-03-12 17:46:44 +11:00
Vas Crabb
288839a395 3rdparty/expat: Updated to expat 2.6.4. 2025-03-12 17:23:33 +11:00
Vas Crabb
d69383bfb6 3rdparty/lua: Updated to Lua 5.4.7. 2025-03-12 17:02:57 +11:00
hap
35e80b8d47 ymfm_opl: no need to check for IsOpl2Plus here 2025-02-01 00:47:03 +01:00
hap
077ac12495 ymfm_opl: actually emulate opl2 waveform enable bit 2025-02-01 00:13:42 +01:00
hap
078322da16 ymfm_opn: OPNA does not have 4 latches 2025-01-31 13:35:57 +01:00
hap
d319a3aec9 Revert "ymfm_opn: writes to 0xa7/0xaf also go to latch"
This reverts commit 659471456a.
2025-01-31 13:19:23 +01:00
hap
659471456a ymfm_opn: writes to 0xa7/0xaf also go to latch 2025-01-31 13:01:50 +01:00
hap
802bce33eb ymfm_opn: apparently there is no internal flag when latch was written 2025-01-30 14:49:27 +01:00
Angelo Salese
5e41c0e195
3rdparty/ymfm: sync to latest (#13263) 2025-01-30 14:23:12 +01:00
987123879113
aa5cd150b3
cpu/drcbearm64.cpp: Added a 64-bit ARMv8 (AArch64) DRC back-end. (#13162)
* 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).
2025-01-14 02:44:16 +11:00
hap
b35397e8a9 bgfx: fix compile error after ba6f5853e9 2025-01-10 22:36:42 +01:00
Julian Sikorski
ba6f5853e9
Cherry-pick wayland improvements from upstream bgfx (#13070)
* Properly support Wayland under EGL and Vulkan. (#3358)

* Dynamically load libwayland-egl.so.1 when dealing with Wayland to remove dependencies at program startup. (#3359)

* Cleanup.

* Support both X11 and Wayland in the same build. (#3360)

* Support both X11 and Wayland in the same build.

 - Works for both Vulkan and OpenGL.
 - Remove --with-wayland from genie options.
 - Vulkan loads all three extensions for surface creation instead of only one.
 - Add width and height parameter to GlContext::createSwapChain(), which is needed for EGL to create
   a SwapChain with the given window size.
 - Dirty-fix the example-22-windows to recreate the FrameBuffer by first destroying and then
   recreating to make sure the window is released of its swapchain.
 - Fix dbgText glitch in example-22-windows.
 - Remove old X11-related dependencies for GLFW3.

* Formatting.

* Adapt to latest bgfx wayland code

* Cleanup.

* Fix Vulkan swapchain invalidation issue. (#3379)

* Fix Vulkan swapchain invalidation issue.

* Always clamp render pass to frame buffer size.

* Fix formatting.

* Hopefully fix macOS build

* Hopefully fix macOS build, attempt 2

---------

Co-authored-by: Martijn Courteaux <courteauxmartijn@gmail.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2025-01-02 13:50:37 +01:00
Patrick Mackinlay
e745009c30 genie: disable command line string escaping, fixes #13150 2025-01-02 13:26:11 +07:00
Patrick Mackinlay
383c16ae96 genie: restore MPARAM for non-Windows OS builds 2024-12-09 09:54:41 +07:00
Patrick Mackinlay
ae4e4482c6 fix windows build
* use MPARAM for GENie build architecture
* avoid escaping issue in 3rdparty/expat
2024-11-28 08:49:59 +07:00
Patrick Mackinlay
dc8ba812c1
Updated GENie and changed Visual Studio target to Visual Studio 2022. (#13000)
* Updated to GENie 1181.
* Applied local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572.
* Set MSVC flags to use conformant preprocessor, standards conformance mode, and assume UTF-8 encoding.
2024-11-27 04:39:05 +11:00
Vas Crabb
c75845b1ef 3rdparty/sol2: Fixed build with clang 19.
sol::optional<T&>::emplace was broken, and depended on the compiler not
checking that members exist if the template wasn't instantiated.  See
ThePHD/sol2#1606 and ThePHD/sol2#1648.
2024-11-18 06:19:06 +11:00
kms1212
bae7420375
m68k: add FPU instructions FETOX, FETOXM1, FTWOTOX, FTENTOX (#12903) 2024-10-24 19:53:30 -04:00
arbee
1fc7c61a79 cpu/m68000: FPU now sets the NaN flag for all NaNs, not just signalling. Fixes dendego black screen in attract mode. [R. Belmont] 2024-05-30 23:33:13 -04:00
arbee
6957c46998 cpu/m68000: Updated 680x0 FPU to Softfloat 3 from 2. (MT5411 and MT8793). [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.
2024-05-27 20:40:42 -04:00
Vas Crabb
b7e0fa72b9 3rdparty/sol2: Work around another place where noexcept depends on class template arguments. 2024-05-08 03:58:36 +10:00
Vas Crabb
4da99a13f5 3rdparty/sol2: Worked around apparent regression in clang 18.
When taking a pointer to a static member function template in a class
template, clang reports a substitution error if the noexcept
specification uses an expression that depends on class template
arguments.

See llvm/llvm-project#91362 on GitHub.
2024-05-08 03:32:05 +10:00
Vas Crabb
3ef9a7db09
3rdparty/asio: Patch config.hpp to hopefully work with strict preprocessor warnings. 2024-04-22 09:19:30 +10:00
Vas Crabb
184292b730 3rdparty/asio: Updated to 1.30.2 2024-04-22 08:04:58 +10:00
Patrick Mackinlay
2c566627a1
3rdparty/asmjit: Updated to upstream version 1.13.0. (#12228)
From revision asmjit/asmjit@e5d7c0bd5d
2024-04-11 03:16:51 +10:00
Justin Kerk
28210363d0 Fix compile error in 3rdparty/bx with newer Emscripten versions (#12098)
From bkaradzic/bx@03fd6f4771
2024-03-13 11:41:25 -07:00
Vas Crabb
05e69b43e9
Added Zstandard support for zip archives and CHDs. (#11827)
* 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.
2023-12-11 10:48:02 +11:00
Vas Crabb
414c5ce5a5 3rdparty: Renamed libflac to flac - it's a full FLAC distribution, libFLAC is just a small part of it. 2023-12-06 17:12:45 +11:00
Vas Crabb
faf991a563 3rdparty/libflac: Updated to version 1.4.3.
Also removed FLAC documentation - it's a lot of bloat.
2023-12-06 17:12:45 +11:00
Vas Crabb
79bef1e230 3rdparty/lzma: Updated to version 23.01. 2023-12-06 07:58:49 +11:00
Vas Crabb
466c450cb3 3rdparty/utf8proc: Updated to 2.9.0. 2023-12-06 07:05:45 +11:00
Vas Crabb
12590d6ad8 3rdparty/zlib: Updated to 1.3.0. 2023-12-06 06:42:53 +11:00
Vas Crabb
73751bcea9 3rdparty/libjpeg: Updated to version 9e. 2023-12-06 06:05:40 +11:00
Alex Brown
d6a7f2906a
3rdpary/asio: Fixed error check in sockatmark(). (#11656)
From chriskohlhoff/asio@f79d3dc5c8
2023-10-28 03:46:33 +11:00
Vas Crabb
c936fd8799
3rdparty/portaudio: Fixed inadvertent assignment in PulseAudio callback. 2023-10-24 06:39:17 +11:00
invertego
963561c7cb
3rdparty/portaudio: Updated to latest upstream version. (#11604)
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.
2023-10-09 01:50:30 +11:00
Romain TISSERAND
52e5d735ce
3rdparty/bgfx: Fixed duplicate import of GL functions on Linux when using GLES 2.0. (#11596)
From bkaradzic/bgfx@66d50eb721

Fixes build when using GLES 2.0 and Wayland.
2023-10-04 23:08:53 +11:00
Julian Sikorski
80155dfa8c
3rdparty/bgfx: Cherry-picked upstream commits needed to support Wayland on Linux. (#11539) 2023-09-29 01:14:29 +10:00
Vas Crabb
44eb5ea3c6 Revert "Updated bgfx, bx and bimg to current upstream versions. (#11493)"
This reverts commit 1c61ccfe84.
2023-09-08 05:14:35 +10:00
Julian Sikorski
1c61ccfe84
Updated bgfx, bx and bimg to current upstream versions. (#11493)
* 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.
2023-09-06 01:10:24 +10:00
Vas Crabb
883f063cf8 bgfx: Hopefully fix glslang build with newer GNU C/C++ standard library verisons. 2023-05-31 16:06:23 +10:00
987123879113
fb2b5745d1
namco/namcos10.cpp: Add MP3 decoder support to the MEM(P3) board. (#11210)
* 3rdparty/minimp3: Update to latest source (afb604c06bc8beb145fecd42c0ceb5bda8795144).
* sound/mp3_audio.cpp: Add helper class to decode MP3 frame data, abstracting away minimp3 from devices.
* sound/lc82310.cpp: Added basic Sanyo LC82310 MP3 decoder emulation.
* namco/namcos10.cpp: Fixed light gun inputs for Golgo 13: Juusei no Requiem.

Systems promoted to working
------------------
Golgo 13: Juusei no Requiem (Japan, GLT1 VER.A)
Tsukkomi Yousei Gips Nice Tsukkomi (NTK1 Ver.A)
Seishun-Quiz Colorful High School (CHS1 Ver.A)
2023-05-15 14:38:30 +10:00
Vas Crabb
02eea1bd67 3rdparty/nanosvg: Re-base on latest upstream.
Now based on upstream 9da543e8329fdd81b64eb48742d8ccb09377aed1.

This fixes some issues with abbreviate path commands, gradients, and
locale sensitivity when parsing percentace-style colours.
2023-05-05 05:57:39 +10:00
Vas Crabb
a504bde3a7 3rdparty/lzma: Updated to LZMA SDK version 22.01 2023-05-04 02:41:16 +10:00
Patrick Mackinlay
5b567d4a37 taptun: fix adapter detection on windows for newer versions of taptun driver 2023-04-25 14:46:24 +07:00
feos
ed34e2ed6d
3rdparty/linenoise: Support keypad Enter on Windows. (#11109) 2023-04-18 03:34:25 +10:00