Commit Graph

672 Commits

Author SHA1 Message Date
hap
ec0e2593c9 makefile: add note about cpu arch 2025-04-24 00:56:25 +02:00
hap
b8de7b1cbd makefile: change windows cpu arch reg query /v to -v 2025-04-23 21:18:44 +02:00
hap
615951268a makefile: get windows cpu arch from registry instead of wmic 2025-04-21 15:35:28 +02:00
Vas Crabb
36db8bf5cc
makefile: Don't use else after the over-eager pattern. 2025-04-21 09:34:51 +10:00
Olivier Galibert
9bbb40faaf Detect x86/x86_64 on linux again 2025-04-21 01:04:48 +02:00
Vas Crabb
e3f386c2a9 Made PTR64 a makefile-only thing - it isn't necessary in the code. 2025-04-20 06:10:25 +10:00
Vas Crabb
8c28d3ff7e Cleaned up build scripts and compiling documentation:
* Made it a bit easier to cross-compile for x86-64 or i686 on an AArch64
  Windows system.
* Choose the default native recompiler back-end based on predefined
  macros rather than requiring the build scripts to set it.
* Don't require every target without a native recompiler to declare
  this.
* Got rid of the code that was supposed to set -m32 or -m64 when
  building GENie (it didn't work - it tried to use ARCHITECTURE before
  setting it).
* Avoid relying on the unreliable PROCESSOR_ARCHITECTURE environment
  variable.
* Got rid of stuff for versions of Xcode that are definitely no longer
  supported.
* Got rid of workarounds for very old Linux distros.
* Use newer makefile syntax for if/else/if structures, comment some else
  and endif statements for clarity.
2025-04-20 02:36:58 +10:00
Vas Crabb
c5328f94c1 Avoid the need to set MINGW32 or MINGW64 environment variables when using a standard MSYS environment on Windows. 2025-04-19 00:32:18 +10:00
Vas Crabb
33b1c17fe5 makefile: Detect Windows for 64-bit ARM and set PLATFORM accordingly. 2025-04-18 07:13:19 +10:00
Vas Crabb
758c8a169a Bumped version to 0.276 2025-03-30 10:51:08 +11:00
Vas Crabb
455ffbbd7e Bumped version to 0.275 2025-02-26 00:22:55 +11:00
Vas Crabb
32736e4c43 Cleanup:
cpu/drcbex86.cpp: Don't use static address space accessors.  This gives
a big performance improvement.

cpu/drcbeut.cpp: Made failure to resolve address space accessors fatal.

cpu/drcbearm64.cpp: Removed fallback to static address space accessors.

cpu/mips3/mibs3.cpp: Removed static address space accessors.  All they
were doing was hurting performance.

cpu/drcbex64.cpp: Don't use goofy X64_WINDOWS_ABI macro, just check
_WIN32.  The only other environment that uses the Windows calling
convention is (U)EFI, and we can move feature detection to util/abi.h if
we ever need to care about it.
2025-02-03 08:02:40 +11:00
Vas Crabb
cd82a83c3d Bumped version to 0.274 2025-01-30 02:16:40 +11: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
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
Vas Crabb
e11cae0a15 Bumped version to 0.273. 2024-12-30 07:41:08 +11:00
Vas Crabb
9d6cffc9c6 MAME 0.272
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmdJ5qUACgkQwXSxAYxA
 cQ6ykA//cT7xJlw136NNsc6QoWfZdpfYvt32rJMG+bKNipjakl5rGlSWwsDdHu8J
 OhMHiOQF20EhPHEPZxVQfyU9rJbp2SPS+1k1aP3wHpE1PnxZmq+wM4sofVs/E/wN
 vcWuWVfumWE52A5Oyder/P69vSsz5GpI7XIa8qECzXZJOmDLuxwPaPbzfCIT0qum
 f5rYRZinRHy2ny1fDIUepU97kaFSkCMMnyJMU9o3LlwUV/XeY84yksMxY7Qs8jqP
 Y9cmggi/ujkYSsdKKr8a+7BHyF3ndGuWBk+ObeoWJNYV5I+q5LG0rgjhmMxox86x
 krwi2ed0ss1X8x0ooDMNxoYRfPfr+IpQKqxy5lhS2kOpkFkdGD41Q7hwPE/9/mH4
 7gaDhzqIGNF4OO8V2+Dp5bxa+BdV00O1/FViWrEUW2O0w6d5e/kOqO5qgD7OyS4L
 AqoE4uT9vdu16RlCriyhZRLcAdVFlGLhTQCaEGgu0PIZ2SNwnh/vONe3JWjh+4G5
 DdSzdfONcU+/AoUlslJn4CTD2Kh7iidlKpk4JRJ6VUb7iBALy3nVCrLrX4sBNrVn
 wrx5py/u1r7pRHuftk8+QcF3wVIdTWJ8N+33A0HX1sjLuuVTNnhb09ZTXc4edLrU
 CwVFYjeV8v0dmZq+be2dAbmxNNAIwEMkCYvo5TqpPoztKtwSCjM=
 =2phB
 -----END PGP SIGNATURE-----

Merge tag 'mame0272' into HEAD

MAME 0.272
2024-11-30 10:43:41 +11:00
Vas Crabb
5d8e4cf07e Bumped version to 0.272 2024-11-30 03:05:16 +11: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
4da96a0c4f Bumped version to 0.271 2024-10-30 23:23:19 +11:00
Vas Crabb
ef032a31e5 Bumped version to 0.270 2024-09-25 06:02:22 +10:00
Vas Crabb
6d1970f5f1 Bumped version to 0.269 2024-08-28 05:56:16 +10:00
Vas Crabb
acea8712d6 Bumped version to 0.268 2024-07-31 03:16:53 +10:00
Vas Crabb
663abae071 Bumped version to 0.267 2024-06-28 01:10:40 +10:00
Vas Crabb
cd7817b220 Bump version to 0.266 2024-05-30 03:42:54 +10:00
Vas Crabb
7e52678a2c srcclean and cleanup 2024-05-26 07:39:22 +10:00
Vas Crabb
f8af5cc2cf Bumped version to 0.265 2024-04-24 04:39:06 +10:00
Vas Crabb
01b97e2222 srcclean and cleanup:
* makefile: srcclean batches of twenty files - improves performance when
  process creation or filesystem walk is expensive.
* midway/midtunit.cpp: Removed a few unnecessary lines.
2024-04-21 04:11:53 +10:00
Vas Crabb
5b670ad51f Bumped version to 0.264 2024-03-26 01:00:46 +11:00
Vas Crabb
93d8318325 Bumped version to 0.263 2024-02-27 23:17:06 +11:00
Vas Crabb
d48a61f921 Bump version to 0.262 2024-01-31 03:59:27 +11:00
Miodrag Milanović
d5340b8be4
Make building emulator optional (allow building tools without building MAME) (#11889) 2023-12-31 20:41:59 -05: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
ca50094e8d Bumped version to 0.261 2023-11-28 07:47:14 +11:00
Vas Crabb
0a7f1fe9cf Bump version to 0.260 2023-10-24 02:53:41 +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
Vas Crabb
727e600b94 MAME 0.259
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmUVpEIACgkQwXSxAYxA
 cQ7EBg/+PO4UlnOG5nvQg8TxHGkavpgzr/z5BXHer1mpwDB7091BrKqi+6fgDsHU
 pNGKdjSR9EdmCjPs5aqW29Fgd+xk29NEJtUVU5U2Ab2NfV16hzfF3zTXGsvojlBn
 n28Ja5MmWiAYTPTEHa1MlJnOQuxD6nhdLD1xEJV5TiFjl9ceVd5il+BLQ/7nn1T1
 zNSvUa/mF6EpvmpcIIbBSF+MpIq8rTH57QdOY0pD3RmAltnwmIOkKLnirmPtmRaq
 X3ncHQBWcu8iggz3ty+K9cF4n6GpFa8Unjsi44m5CgTRhDEwRA0eAJUm8ud3UlU+
 uKWOnDCwsjKnZCWPmfeo54osJV7tSCzcNzCzsxThR6ogfZxcULj3G/+tatyXkvoe
 gpyIzqBDQPWxJgtFZKRRRsixwgivnlY/axQWiXG6wFWIpHthT3ypbSciBJKfZX+N
 B3E37UtmU4ObzLsNvuhdSCXQHMv8teQxREP2DxsIDAFDjyS1URDXbkL2qA62pQ08
 0e0VqxoULxS65jVWquDsotShMWrcgooxDmB6PUORP8YEsbCIF7c4cEYcjc5j+zVD
 v1v3za3rfEFoT+IcHjT7w3vz/cfWMu3HQJEiZ90A7v9h78EZ9ujo2kNHHAxaKD6u
 y71MvjpFrrmkKuvKsJFP1cYuf+tbqBWRRQ/vVG4+w0uz3RJvk4U=
 =ZKbi
 -----END PGP SIGNATURE-----

Merge tag 'mame0259' into HEAD

MAME 0.259
2023-09-29 21:56:21 +10:00
Julian Sikorski
117c384d4a
render/drawbgfx.cpp: Added initial support for Wayland on Linux. (#11451) 2023-09-29 01:24:59 +10:00
Vas Crabb
4ff20056c3 Bumped version to 0.259 2023-09-29 01:23:40 +10:00
hap
8d3545d731 makefile: update some outdated stuff 2023-09-25 15:37:32 +02:00
Vas Crabb
2e0aa82350 Bumped version to 0.258 2023-08-29 04:29:19 +10:00
Vas Crabb
f811a66c53 Bump version to 0.257 2023-07-28 02:00:24 +10:00
Vas Crabb
b41370db02 Bump version to 0.256 2023-06-28 01:49:47 +10:00
Vas Crabb
c6650dc072 Bump version to 0.255 2023-05-31 03:50:57 +10:00
Vas Crabb
bfa8d724a0 Bump version to 0.254 2023-04-26 01:19:25 +10:00
Vas Crabb
b6d9756c5e Bump version to 0.253 2023-03-30 01:05:56 +11:00
Miodrag Milanović
bd59a0d447
Removed local copy of SDL source and update Android build support. (#10899)
* 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.
2023-02-27 05:40:37 +11:00
Vas Crabb
fb98822c34 Bump version to 0.252 2023-02-22 04:59:53 +11:00
Vas Crabb
34e6ec1ef8 Bump version to 0.251 2022-12-30 01:20:09 +11:00
Vas Crabb
b7cbe74c4b Bump version to 0.250 2022-11-29 16:41:19 +11:00