63134 Commits

Author SHA1 Message Date
fishcu
1b50470c96
Add FinalViewportSize support to GLSL (#15891)
* Change rotation type to int to maximize compatibility and to match glUniform1i

* Change to C style comment; Make comment more useful (hopefully)

* Add support for FinalViewportSize in GLSL
2023-11-10 16:45:20 -08:00
github-actions
833c4b5acd Fetch translations from Crowdin 2023-11-11 00:10:36 +00:00
sonninnos
f20c8493b3
Use video refresh rate for menu frame limiting (#15886) 2023-11-09 16:36:19 -08:00
Bernhard Schelling
107283edc8
Updates to the netplay netpacket interface (#15887)
* Updates to the netplay netpacket interface
- Switch environment call number from 76 to 78 (retire 76 as it was never used by any core)
- Simplify broadcasts by removing the option to send to all but one client
- Separate explicit flushing and querying of incoming packet into two operations (RETRO_NETPACKET_FLUSH_HINT and retro_netpacket_poll_receive_t)
- Enable a core to specify a protocol version string which can get used instead of core version to determine compatibility between two players
- Log and notify a separate message when there is a content crc mismsatch to convey it being less severe (as different games may be able to do network communication with each other)

* C89 compile fix
2023-11-09 16:36:08 -08:00
github-actions
c976fbb868 Fetch translations from Crowdin 2023-11-10 00:12:16 +00:00
sonninnos
866c6853ba
(XMB) Background image improvements (#15884) 2023-11-09 00:54:02 -08:00
github-actions
03dab11092 Fetch translations from Crowdin 2023-11-09 00:11:59 +00:00
github-actions
9dbb069b67 Fetch translations from Crowdin 2023-11-08 00:11:25 +00:00
github-actions
a61812edea Fetch translations from Crowdin 2023-11-07 00:11:45 +00:00
Viačasłaŭ Chalikin
6b0313ed21
Fix: request builder for the AI Service (#15879) 2023-11-06 10:52:17 -08:00
Eric Warmenhoven
7237b6acfc
Enable HDR support in iOS. (#15871)
* Enable HDR support in iOS.

* Enable HDR support in tvOS.
2023-11-06 00:50:14 -08:00
zoltanvb
c42498e531
Warning fixes. (#15877) 2023-11-06 00:04:17 -08:00
sonninnos
e7a01dbf67
Silence signedness warning (#15875) 2023-11-05 17:22:11 -08:00
github-actions
55e03b5c3c Fetch translations from Crowdin 2023-11-06 00:11:25 +00:00
zoltanvb
aaff36d024
Small fixes for signedness warnings. (#15873) 2023-11-05 15:33:49 -08:00
zoltanvb
701d22d935
PS2 usability fixes (#15861)
- Make sure logs are written before frontend deinit
- Add memory stats
- Add process_args to frontend to fix some cases when salamander cfg was not filled
- Add a missing include in case someone wants to compile for PS2 with HAVE_THREADS
2023-11-05 15:33:17 -08:00
Jamiras
b43e1f3caf
prevent write-past-end-of-buffer when signed value wraps (#15868) 2023-11-05 15:32:46 -08:00
sonninnos
1a97b0edd4
Savestate thumbnail fixes (#15869) 2023-11-05 15:32:28 -08:00
zoltanvb
e35afdb57a
Separate ffmpeg and audiomixer conditionals (#15872)
There are cases when mixer exists without ffmpeg. In such cases,
some music content can still be added to the mixer for playback.
Logic added to separate the two cases.
2023-11-05 15:32:14 -08:00
Andrew Gorbaty
c9de6e5932
fix (#15874) 2023-11-05 15:31:43 -08:00
github-actions
3186b1dce3 Fetch translations from Crowdin 2023-11-05 00:11:58 +00:00
github-actions
b703cd94da Fetch translations from Crowdin 2023-11-04 00:11:04 +00:00
Joe Osborn
862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build (#15688)
* Increase emscripten stack size and decrease path size to fix emscripten builds broken since de45fc2

* use modularize flags for better-behaved javascript output

* makefile and loader changes

* use specialHTMLTargets to support modular access to canvas

* bind key events to canvas, not document

This way focus means focus and we can have multiple RA instances in
one page.

* Work around an emscripten bug in strict mode

* (Emscripten) Use console.error() for error messages

* increase asyncify stack size

* Fix `-lm` flag-related compile warnings in emscripten

---------

Co-authored-by: Rob Loach <robloach@gmail.com>
2023-11-02 13:25:50 -07:00
Jamiras
8523eaf5c0
[cheevos] upgrade to rcheevos 11.0 (#15859)
* update rcheevos

* update rcheevos
2023-11-02 11:52:36 -07:00
zoltanvb
636a6e9d55
Silence a format truncation warning (#15857)
This line generates a warning during compilation:

menu/menu_displaylist.c:11925:46: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=]
11925 |                                        "Mode %d", toc->track[i].mode);
      |                                              ^~
menu/menu_displaylist.c:11925:40: note: directive argument in the range [0, 255]
11925 |                                        "Mode %d", toc->track[i].mode);
      |                                        ^~~~~~~~~
In file included from /usr/include/stdio.h:936,
                 from ./libretro-common/include/file/file_path.h:26,
                 from menu/menu_displaylist.c:27:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 9 bytes into a destination of size 7
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Since the value of the track mode should be either 1 or 2, a modulo 10 should not limit the displayed value, and it removes the warning.
2023-11-01 17:56:56 -07:00
github-actions
e6621a4f71 Fetch translations from Crowdin 2023-11-02 00:11:31 +00:00
zoltanvb
e7a10b2326
Fallback to screensaver inhibit via D-Bus on Wayland (#15856)
Some Wayland compositors (e.g. Phoc) don't implement Wayland's Idle
protocol. They instead rely on things like Gnome Screensaver.
2023-11-01 11:11:38 -07:00
libretroadmin
4cd68ddfbe (Video processor) C89 buildfix 2023-11-01 03:53:59 +01:00
github-actions
1fb66d8465 Fetch translations from Crowdin 2023-11-01 00:12:27 +00:00
sonninnos
2a51e66120
Log level prefix cleanup (#15852) 2023-10-31 15:52:02 -07:00
zoltanvb
232095797e
Set fixed locale for numbers, close to config read/write (#15782)
Move setlocale() closer to config file read/write.
2023-10-31 12:03:24 -07:00
LibretroAdmin
466e82f55d
Update sdl2_gfx.c 2023-10-31 12:01:00 -07:00
sonninnos
5a605099c6
Rename '3rd party' to 'third party' (#15851) 2023-10-31 11:58:50 -07:00
LibretroAdmin
249702a2e9
Update Android.mk - define HAVE_ACCESSIBILITY 2023-10-31 10:45:05 -07:00
sonninnos
220caa5143
Remove menu_throttle_framerate option (#15850) 2023-10-31 09:58:47 -07:00
Joe Osborn
3167529fbf
increase chunk size for reads/writes under emscripten (#15845) 2023-10-31 07:18:45 -07:00
Viačasłaŭ Chalikin
43105ab5c7
Add Belarusian language option (#15780) 2023-10-31 05:51:57 -07:00
zoltanvb
9d46953fa2
Exclude "System Volume Information" explicitly. (#15833) 2023-10-30 15:33:45 -07:00
Eric Warmenhoven
dfeeb031fe
Fix mouse support for melondsds on osx (#15837) 2023-10-30 15:33:17 -07:00
Eric Warmenhoven
cdb2549b2e
Sort playlists ignoring extension. (#15836)
"Sony - PlayStation 2" sorts before "Sony - PlayStation" because when
the menu sorts, it includes the `.lpl` extension, and space comes
before period.
2023-10-30 15:32:50 -07:00
github-actions
a61f87ce8e Fetch translations from Crowdin 2023-10-30 00:12:00 +00:00
github-actions
a6059473f6 Fetch translations from Crowdin 2023-10-29 00:12:21 +00:00
github-actions
6d1b76964e Fetch translations from Crowdin 2023-10-28 00:10:33 +00:00
github-actions
54805a1827 Fetch translations from Crowdin 2023-10-27 00:11:23 +00:00
sonninnos
da59b8c9ac
Add 'Frame Rest' power saving option (#15834) 2023-10-26 04:20:48 -07:00
github-actions
4f8e3fabad Fetch translations from Crowdin 2023-10-26 00:11:14 +00:00
GavinDarkglider
5356afc750
Minor fixes to udev input drivers. Add support for canary builds to lakka updater stuff (#15818)
* Input: Udev: Fix touch support building against older kernel headers

* Input: Udev: Fix Touch Deep Debug compile issues

* Input: Joypad: Udev: Joypad: Add Change detection for udev events

This is handy with controllers like the Nintendo Joycons that have a daemon
app in the background to handle combining them into one controller(Joycond)

Since the device was already added, but joycond clamped permissions on evdev
retroarch was never updating the controller input change, this fixes that issue.

Note: Needs a patch in joycond as well, to send change uevent.

This shouldnt cause any issues with other controllers, as the kernel probably
will never send change events for these device types.

* Lakka: Add canary builds to updater
2023-10-25 08:19:00 -07:00
github-actions
535898da0d Fetch translations from Crowdin 2023-10-25 00:11:30 +00:00
sonninnos
06d5cd39fc
Set save redirect paths before set_environment (#15820) 2023-10-24 16:20:17 +02:00
Mike Erickson
7df3ca3064
fix:xinput disconnect lost gamepad (#15819)
Co-authored-by: ChenX <maple6@vip.qq.com>
2023-10-24 00:28:10 -07:00