刘皓
c7f35c96c9
Make sandbox-bindgen allocate varargs buffers on the stack
...
Not sure why, but this fixes crashes when calling variadic functions in
the Ruby API in libretro builds when Ruby is built without `-DNDEBUG`.
Maybe the previous way of calling varargs functions was undefined
behaviour somehow.
2025-04-14 21:04:14 -04:00
刘皓
911cfc29f5
Fix sandbox-bindgen.rb not generating bindings for functions that take no arguments
2025-04-13 22:48:58 -04:00
刘皓
dae17511aa
Rescue all Ruby errors in libretro builds instead of only StandardError
s
...
`rb_rescue` only catches `StandardError`s, which doesn't include things
like Ruby syntax errors that we'd like to catch. We need to explicitly
use `rb_rescue2` to catch `Exception` in order to catch everything.
2025-04-13 22:18:41 -04:00
刘皓
06819fb9a9
Start implementing VX/VX Ace bindings in libretro builds
2025-04-13 17:30:50 -04:00
刘皓
539dbb3a84
Add SDL_IntersectRect
implementation for libretro builds
2025-04-13 12:41:25 -04:00
刘皓
7a01d1cc56
Fix libretro compilation errors caused by the config-reading implementation
2025-04-12 17:09:41 -04:00
刘皓
07a03be7df
Use libiconv instead of the system iconv in libretro builds
2025-04-12 16:40:50 -04:00
刘皓
8c16bc0092
Implement config loading in libretro builds
2025-04-11 23:12:05 -04:00
刘皓
c5af94c25a
Merge branch 'misc-fixes' into libretro
2025-04-11 12:47:05 -04:00
刘皓
3625ab9989
Merge branch 'dev' into misc-fixes
2025-04-11 12:46:48 -04:00
Splendide Imaginarius
737aed0330
Merge pull request #239 from white-axe/vorbis
...
Use CMake instead of Autotools for building Vorbis
2025-04-11 05:29:45 +00:00
刘皓
2c3c560af2
Add uchardet to libretro builds
2025-04-10 23:42:44 -04:00
刘皓
299650159f
Implement changing the frame rate in libretro builds
2025-04-10 16:51:25 -04:00
刘皓
35455e17dc
Apply patches from https://github.com/mkxp-z/ruby in libretro builds
2025-04-10 14:00:32 -04:00
刘皓
ae19c0e42e
Reconcile the standalone and libretro build systems
2025-04-09 23:52:12 -04:00
刘皓
ecd8e50e9e
Upgrade OpenAL Soft from 1.23.1 to 1.24.2 again in libretro builds
...
I don't know why the Wii U build fails with older versions of OpenAL
Soft. There's nothing we can do here except use the newer OpenAL Soft
versions.
2025-04-09 17:22:13 -04:00
刘皓
8c7786da2b
Change openal-soft-int32.patch to also apply to devkitPPC
2025-04-08 23:36:42 -04:00
刘皓
01a5875fd3
Improve detection of aligned memory allocation APIs in libretro builds
2025-04-08 17:32:19 -04:00
刘皓
495d00d5ed
Fix libretro compilation errors caused by the previous commit
2025-04-08 15:20:13 -04:00
刘皓
74f4c0e714
Downgrade OpenAL Soft from 1.24.2 to 1.23.1 in libretro builds
...
OpenAL Soft 1.24 introduces a lot of code that doesn't work well with
the PlayStation 3 homebrew toolchain, and also the old version of the
Wii U homebrew toolchain currently used by the libretro buildbot.
Instead of maintaining a bunch of patches to get 1.24 to work on these
toolchains, I think it'd be easier to just use 1.23.
2025-04-08 14:27:20 -04:00
刘皓
0bd07c8dc8
Disable building the FluidSynth executable in libretro builds
2025-04-08 01:15:33 -04:00
刘皓
192300dbe9
Allow FluidSynth to build for libretro targets with no threading support
2025-04-08 00:27:32 -04:00
刘皓
89ffd49acf
Fix several FluidSynth compilation errors in libretro builds
2025-04-07 22:16:00 -04:00
刘皓
db7853d02d
Use fluidsynth-sans-glib instead of fluidlite in libretro builds
...
FluidLite plays one of the tracks in the intro sequence of KNight-Blade
incorrectly.
2025-04-07 21:24:27 -04:00
刘皓
45565bf4db
Fix code formatting in meWatchProc
2025-04-07 20:08:43 -04:00
刘皓
85f112cab0
Fix compilation error in audiostream.cpp in standalone builds
2025-04-07 20:05:41 -04:00
刘皓
8fa20c660a
Implement audio fading in libretro builds
2025-04-07 14:33:50 -04:00
刘皓
9f3329e1cb
Implement more of the audio bindings for libretro builds
2025-04-06 22:38:10 -04:00
刘皓
4d742228a8
Fix BGS and ME cutting off after about a second in libretro builds
2025-04-06 21:48:49 -04:00
刘皓
4df253e0d1
Use latest available OpenGL version in libretro builds
2025-04-06 14:43:10 -04:00
刘皓
6bbe58378d
Don't normalize game path in libretro builds
...
Reverts commit d6ede8bcc6
and changes the
game path parser in libretro builds to not normalize the game path as it
causes problems on consoles with weird path formats.
2025-04-06 12:11:23 -04:00
刘皓
b1f1fb7571
Make Graphics.transition
a no-op in libretro builds when not frozen
2025-04-05 21:37:27 -04:00
刘皓
6b59b60fe7
Fix incorrect initialize_copy
bindings in libretro builds
2025-04-05 21:10:31 -04:00
刘皓
77c5ee65fd
Use rb_num2int
instead of rb_num2uint
in libretro graphics bindings
2025-04-05 21:07:37 -04:00
刘皓
d60b23781b
Implement Graphics.transition
binding and related bindings in libretro builds
2025-04-05 14:35:43 -04:00
刘皓
5a0a8b76bd
Implement solid text rendering in libretro builds
2025-04-04 21:55:30 -04:00
刘皓
7a2702bf95
Complete more of the font bindings for libretro builds
2025-04-04 12:20:33 -04:00
刘皓
e607ee9107
Switch back to mkxp-z/vorbis
2025-04-04 10:11:18 -04:00
刘皓
7c7495ab1e
Set CMAKE_POLICY_VERSION_MINIMUM
to 3.10 in libretro builds instead of 3.5
2025-04-02 13:23:47 -04:00
刘皓
981a7a2bd0
Remove unnecessary coroutines from libretro color=
binding implementations
2025-04-02 13:22:31 -04:00
刘皓
8457ac1598
Rename mkxp-threads to mkxp-polyfill
2025-04-02 13:06:17 -04:00
刘皓
e68e029f89
Use patch from libretro/RetroArch#17760 instead of using sed
2025-04-01 17:23:19 -04:00
刘皓
436e5f8510
Stop passing -fno-optimize-sibling-calls
in PlayStation Vita builds
...
Not required as long as we pass `-Wl,--pic-veneer` when linking, which
we do (in Makefile.vita from RetroArch).
2025-03-31 23:41:18 -04:00
刘皓
23781a645b
Implement bindings for changing font size and color in libretro builds
2025-03-31 18:48:14 -04:00
刘皓
dcd29f44a9
Remove dependency on libzip in libretro builds
2025-03-31 13:26:54 -04:00
刘皓
12f12d91a1
Apply patch from ruby/ruby#12995 in libretro builds
2025-03-31 12:28:30 -04:00
刘皓
de5216c3ce
Implement loading from encrypted game archives in libretro builds
2025-03-30 23:37:19 -04:00
刘皓
4433296b3a
Replace Miniconda with Miniforge
2025-03-30 21:18:48 -04:00
刘皓
552ca6d1c7
Use libretro-build-devkitpro image for Wii U builds
2025-03-30 14:17:13 -04:00
刘皓
bfb14b43d6
Link with -Wl,--pic-veneer
in libretro PlayStation Vita builds
2025-03-30 14:06:40 -04:00