Commit Graph

64924 Commits

Author SHA1 Message Date
pstef bcc3ae448f Silence a -Waddress warning 2025-04-10 21:10:45 +00:00
pstef fbb093255a Check for string truncation to silence a warning 2025-04-10 21:10:44 +00:00
LibretroAdmin 7a17ed09ee
Merge pull request #17736 from MrHuu/ctr_core_load_unload 2025-04-10 03:36:07 -07:00
LibretroAdmin 82d8b9630a
Merge pull request #17750 from BinBashBanana/master 2025-04-10 03:35:45 -07:00
github-actions aec5d1addd Fetch translations from Crowdin 2025-04-10 00:16:10 +00:00
LibretroAdmin af50c2fccb
Merge pull request #17792 from pstef/wii-fixes
Wii fixes
2025-04-09 15:36:02 -07:00
pstef 6f95b974ba Bring in changes for GEKKO from upstream 2025-04-09 20:43:09 +00:00
pstef 7dce21c7d5 Copy quiet compilation mode from other Makefiles 2025-04-09 20:43:09 +00:00
pstef d65c17f6b8 Add missing includes
malloc.h for memalign() and unistd.h for usleep().
2025-04-09 20:43:09 +00:00
pstef e8d43b3d99 Add missing function declarations
They are absent even in upstream, so I decided against copying to the
local copy of libogc. And a couple of function prototypes doesn't seem
to warrant a new header file.
2025-04-09 20:43:09 +00:00
pstef b28a805f9c Remove remnants of a rejected idea
This was replaced simply by importing 3DS support from upstream.
2025-04-09 20:43:09 +00:00
LibretroAdmin 4bf8855fda
Merge pull request #17754 from zoltanvb/udev_to_linuxraw_fallback
Save fallback to linuxraw driver in case of first boot.
2025-04-09 13:26:34 -07:00
LibretroAdmin 17ac0529c2
Merge pull request #17762 from pstef/ctr-mbedtls
3DS: enable mbedTLS
2025-04-09 13:25:38 -07:00
LibretroAdmin 634a0a9654
Merge pull request #17753 from pstef/ctr-nogriffin
Fix non-griffin build for 3DS and make it the default
2025-04-09 13:25:30 -07:00
pstef b98a730413
Use fabsf and intended threshold for refresh rate check (#17791)
Discussed with sonninnos

Co-authored-by: pstef <3462925+pstef@users.noreply.github.com>
2025-04-09 23:22:00 +03:00
LibretroAdmin 036df1e9b1
Merge pull request #17790 from pstef/gx2-update-uniform-block
Fix variable name collision
2025-04-09 10:55:34 -07:00
LibretroAdmin a10dbbc1d0
Merge pull request #17787 from warmenhoven/warmenhoven/pr/ios9-build-fix
ios: ios9 build fix
2025-04-09 10:55:22 -07:00
pstef 3b3065f736 Fix variable name collision
const char *id overshadowed the function parameter int id.
2025-04-09 16:59:49 +00:00
Eric Warmenhoven 0533debeab ios: ios9 build fix 2025-04-09 08:50:43 -04:00
LibretroAdmin 3fb20b49c8
Merge pull request #17786 from zoltanvb/android-patch-fix 2025-04-09 03:08:12 -07:00
zoltanvb 4ceea9d6ca Follow patched file changes. 2025-04-09 06:35:37 +02:00
LibretroAdmin de775c501c
Merge pull request #17780 from pstef/cheat-manager 2025-04-08 18:46:51 -07:00
LibretroAdmin b5424e7448
Merge pull request #17783 from pstef/switch-performance-profiles 2025-04-08 18:44:20 -07:00
LibretroAdmin 973cb76c1c
Merge pull request #17784 from warmenhoven/warmenhoven/pr/ios-screen-orient 2025-04-08 18:44:07 -07:00
github-actions bbafb16ea4 Fetch translations from Crowdin 2025-04-09 00:16:07 +00:00
Eric Warmenhoven afc32f02dc ios: screen orientation lock through display server 2025-04-08 15:39:04 -04:00
Ryunam fbd05aa185
Fix very minor build warning (#17781) 2025-04-08 20:24:51 +03:00
pstef e523a6c0be Relocate Switch CPU profile definitions
Move SWITCH_CPU_* array definitions from header to platform_switch.c.
Use extern declarations in the header. Add NULL/0 terminators to the
arrays and update size calculation and loops to use the terminators
where the number of elements can't be calculated.

The motivation for this change is to remove code duplication and silence
warnings about unused arrays in translation units that only used a
subset of them.
2025-04-08 17:12:03 +00:00
pstef 59c71b8db4 Rewrite part of cheat_manager_load_cb_second_pass()
This is to silence a stringop warning that I believe to be a false
positive.  Nevertheless, this change reduces verbosity of the code
and introduces a couple of checks that weren't there previously.

Note that the base parameter of this strtoul call is changed from 0
to 10, because previously the while loop rejected characters other
than 0-9 so strtoul didn't have to. Now that the loop is gone, the
call has to reject characters that are not decimal digits to keep
the logic as it was.
2025-04-08 06:16:59 +00:00
github-actions dc67ff6418 Fetch translations from Crowdin 2025-04-08 00:15:05 +00:00
LibretroAdmin 7ff7e49f56
Merge pull request #17776 from zoltanvb/delete_core_options
Enable core options reset without starting a core.
2025-04-07 16:02:50 -07:00
LibretroAdmin aca2d3a544
Merge pull request #17777 from JesseTG/jtg/fix-ffmpeg-camera-condition 2025-04-07 02:33:31 -07:00
github-actions 55df20c845 Fetch translations from Crowdin 2025-04-07 00:16:31 +00:00
Jesse Talavera 334519167b Make the condition for using `camera_ffmpeg` consistent with the Makefile
- Should fix a link error
2025-04-06 19:05:34 -04:00
zoltanvb 000c5dcd76 Enable core options reset before starting a core.
Add "Reset core options" menu to two more places:
- Manage Cores, where it can delete the options for the selected core
- Configuration, where it can delete the options for the loaded core

Current reset function is updated to delete the core options file if
reset is wanted for a specific core, or core was loaded but not yet
started. Meant as a recovery method for possibly fatal core option
changes.
2025-04-06 21:53:01 +02:00
pstef 1f26793fde 3DS: enable mbedTLS 2025-04-06 18:48:10 +00:00
pstef 4354fc331c Fix non-griffin build for 3DS and make it the default
While here:
* remove input_overlay and task_overlay from linking blacklist
* move -Werror to CC invocation since C++ refuses to use it
* copy the quiet build mode from the main Makefile and make it the
  default
* temporarily define DEPRECATED for gpu_old.h to allow succesful build
* replace the call to command_event() with one to retroarch_main_quit()
  in a failure case
2025-04-06 18:48:07 +00:00
pstef 70aaa0a55c Fix non-griffin build for 3DS and make it the default
While here:
* remove input_overlay and task_overlay from linking blacklist
* move -Werror to CC invocation since C++ refuses to use it
* copy the quiet build mode from the main Makefile and make it the
  default
* temporarily define DEPRECATED for gpu_old.h to allow succesful build
* replace the call to command_event() with one to retroarch_main_quit()
  in a failure case
* add missing uncompr.o in Makefile.common for HAVE_BUILTINZLIB
2025-04-06 18:35:41 +00:00
LibretroAdmin c9998dfb32
Merge pull request #17752 from neil4/fix-overlay-mouse-lightgun 2025-04-06 01:53:55 -07:00
LibretroAdmin d15c7f5669
Merge pull request #17772 from pstef/gamecube-fixes 2025-04-06 01:36:19 -07:00
pstef af8765cb3b Fix DCFlushRange size calculation
by correcting the operator precedence
2025-04-06 01:04:06 +00:00
pstef 3130717626 Don't redefine _SHIFTL and _SHIFTR macros 2025-04-06 00:59:15 +00:00
pstef a33542719f Guard nanosleep prototype behind _POSIX_TIMERS 2025-04-06 00:58:15 +00:00
pstef b3f1152049 Fix a callback function's type to enable compilation with GCC14 2025-04-06 00:57:34 +00:00
pstef 39fd1176dd Add a missing malloc.h include for memalign() 2025-04-06 00:56:04 +00:00
pstef 3c9d9373d2 Copy quiet compilation mode from other Makefiles 2025-04-06 00:55:37 +00:00
github-actions 44666bae9a Fetch translations from Crowdin 2025-04-06 00:17:06 +00:00
LibretroAdmin eca7fdcc99
Merge pull request #17770 from pstef/achievements-badges
Restore cheevos_badges_enable for HAVE_GFX_WIDGETS builds
2025-04-05 11:09:08 -07:00
pstef 9c4efa9af0 Restore cheevos_badges_enable for HAVE_GFX_WIDGETS builds
This change reduces stuttering when starting a game with
retroachievements enabled. I assume the stuttering is just postponed
until the badges are downloaded on demand, but it lets users pick their
poison.

This change helps but doesn't fix
https://github.com/libretro/RetroArch/issues/16470
https://github.com/libretro/RetroArch/issues/17027
https://github.com/libretro/RetroArch/issues/17758
2025-04-05 10:32:22 +00:00
github-actions d50825e5c7 Fetch translations from Crowdin 2025-04-05 00:14:42 +00:00