Commit graph

2611 commits

Author SHA1 Message Date
刘皓
3f95daa61b
Fix typo in fluidsynth-mkxp-polyfill.patch 2025-07-23 10:56:37 -04:00
刘皓
717789dc4d
Add the current working directory as a Git safe directory in .gitlab-ci.yml
The code in meson.build for getting the current Git commit fails in some
of the container images due to permission issues. This should fix it.
2025-07-16 11:20:47 -04:00
刘皓
03b97c333b
Replace retro_hw_render_callback with struct retro_hw_render_callback in src/core.cpp 2025-07-16 11:20:27 -04:00
刘皓
dbc65b2679
Move dependency installation into before_script section in .gitlab-ci.yml 2025-07-16 00:24:53 -04:00
刘皓
617c646b91
Fix typo in Makefile.libretro: build.ini should be build.ninja 2025-07-16 00:17:17 -04:00
刘皓
eb3765524e
Add clean target to Makefile.libretro 2025-07-16 00:15:22 -04:00
刘皓
d1bc68ef5b
Fix typo in comment in .gitattributes 2025-07-16 00:00:01 -04:00
刘皓
2157e5fe5e
Make GitHub Linguist recognize Makefile.libretro as a makefile 2025-07-15 18:02:13 -04:00
刘皓
2efcddd654
Remove curl and jq dependencies from PlayStation 4 build in libretro buildbot 2025-07-15 17:55:32 -04:00
刘皓
755e6a8674
Update OpenGL registry in libretro builds 2025-07-15 13:11:48 -04:00
刘皓
afcb89a32f
Improve efficiency of the wiiurpxtool job in GitHub Actions 2025-07-15 12:51:25 -04:00
刘皓
6d5c71bd56
Change is_vita to is_vitasdk in meson.build for consistency 2025-07-15 12:44:04 -04:00
刘皓
8fed0ee847
Properly handle RETRO_ENVIRONMENT_GET_USERNAME returning null in libretro builds 2025-07-14 22:32:00 -04:00
刘皓
accb5948ea
Update libretro-common and add Irish language in binding-sandbox.cpp 2025-07-13 20:59:33 -04:00
刘皓
3ad87cdca2
Fix typo in Makefile.libretro: CMAKE_TOOLCHAIN_FILE should be cmake_toolchain_file 2025-07-13 19:11:24 -04:00
刘皓
a5b7d8d93a
Fix missing then in autobuild.yml 2025-07-13 18:29:14 -04:00
刘皓
5a0916f595
Run container images as root again in GitHub Actions 2025-07-13 17:58:41 -04:00
刘皓
13cf3de01e
Fix some CI failures 2025-07-13 17:37:33 -04:00
刘皓
57b00eb738
Add PlayStation 4 builds to GitHub and libretro CI 2025-07-13 15:56:25 -04:00
刘皓
0370010da3
Use Emscripten's CMake toolchain file when building for Emscripten
Emscripten overrides some of the default CMake modules because some of
the default functions like `check_type_size()` are broken.
2025-07-13 15:49:52 -04:00
刘皓
b93ab2b106
Re-add the unthreaded Emscripten build to GitHub Actions 2025-07-13 15:02:08 -04:00
刘皓
1f4b52c3b1
Set endianness when configuring CMake subprojects
When the endianness is not given to CMake, CMake will try to use a buggy
script to determine it using the compiler, which doesn't work with some
toolchains, like Emscripten.
2025-07-13 10:34:03 -04:00
刘皓
66562fcd8b
Make sure libiconv's headers are generated prior to building libiconv
The meson.build for libiconv was not guaranteed to actually generate the
headers before building the sources. Just because it worked properly
most of the time doesn't mean it always will, so I've changed the
meson.build to guarantee the headers are generated first.
2025-07-12 22:22:34 -04:00
刘皓
c59a5905ca
Merge branch 'misc-fixes' into libretro 2025-07-12 21:44:26 -04:00
刘皓
eedd7d4481
Make sure assets and shaders are embedded prior to building
These files were not guaranteed to be available before Ninja builds the
mkxp-z source files.
2025-07-12 21:28:55 -04:00
刘皓
3a397eefa0
Make sure git-hash.h is generated prior to building
meson.build was previously written in such a way that Ninja did not
actually have to generate git-hash.h before building the source files
that needed it, although Ninja often did do it.
2025-07-12 21:16:37 -04:00
刘皓
c8d9ebb6be
Merge branch 'dev' into misc-fixes 2025-07-12 21:16:23 -04:00
刘皓
3ae0ed6381
Add libretro OpenDingux builds to GitHub Actions 2025-07-09 15:18:49 -04:00
刘皓
406d6a479f
Don't try to free resources in Bitmap::releaseResources() if the bitmap isn't initialized 2025-07-09 13:53:07 -04:00
刘皓
00c9ad2033
Replace backslashes in libretro save and system directories with forward slashes on Windows 2025-07-09 09:04:38 -04:00
刘皓
00cc4e92fb
Actually re-enable the Miyoo libretro buildbot build 2025-07-08 23:08:32 -04:00
刘皓
3a5c19998d
Fix a mistake in GitHub Actions build-libretro-windows 2025-07-08 22:54:27 -04:00
刘皓
17647b96d7
Re-enable the Miyoo libretro buildbot build 2025-07-08 22:42:04 -04:00
刘皓
77dfa91e53
Change libretro Windows builds in GitHub Actions to cross build from Linux 2025-07-08 22:13:21 -04:00
刘皓
3b70c6eae7
Fix typo in Makefile.libretro: MKXPZ_CPU_FAMILY = armv7 should be MKXPZ_CPU_FAMILY = arm 2025-07-08 21:48:21 -04:00
刘皓
9c7a2ce7b0
Fix libretro build failures on Windows 2025-07-08 18:42:42 -04:00
刘皓
7135e3bfa6
Respect NUMPROC environment variable in libretro buildbot builds 2025-07-08 17:43:19 -04:00
刘皓
8774af1db8
Don't use position-independent code for devkitARM or devkitPPC 2025-07-08 14:00:24 -04:00
刘皓
de765c030f
Use -ffat-lto-objects in the libretro buildbot Windows MinGW builds 2025-07-08 11:23:24 -04:00
刘皓
babaf4b1b3
Install a newer Meson version in the libretro buildbot Windows MinGW builds
I didn't know these were using a cross compiler that builds for Windows
from Linux. In that case, we can use the same process as for the other
Linux build environments to update Meson.
2025-07-08 10:55:45 -04:00
刘皓
30eb0352e8
Fix some minor issues with the Darwin polyfilling logic in meson.build 2025-07-07 23:21:53 -04:00
刘皓
89809ea872
Polyfill aligned new/delete in mkxp-polyfill.cpp for old macOS/iOS versions 2025-07-07 19:55:41 -04:00
刘皓
d7a383e120
Disable LTO for x86-64 macOS libretro buildbot build 2025-07-07 19:52:31 -04:00
刘皓
e8637319ce
Attempt to fix some more libretro build failures in old macOS/iOS versions 2025-07-07 18:12:06 -04:00
刘皓
b111e41cea
Fix missing error checking for one call to mkxp_aligned_malloc 2025-07-07 17:11:26 -04:00
刘皓
a2a76c688a
Patch OpenAL Soft in libretro builds to avoid C++17 aligned operator new[] if possible
This function isn't available in older macOS and iOS versions.
2025-07-07 17:05:16 -04:00
刘皓
d0a78e3be5
Enable position-independent code in libretro builds that use devkitPro 2025-07-07 15:32:14 -04:00
刘皓
6087704cad
Fix mistakes in the previous commit 2025-07-07 10:39:39 -04:00
刘皓
5e5a36b382
Fix syntax errors in Makefile.libretro 2025-07-07 10:36:49 -04:00
刘皓
61c0f59c16
Use -ffat-lto-objects in libretro buildbot's Linux builds 2025-07-07 09:58:20 -04:00