64119 Commits

Author SHA1 Message Date
sonninnos
273178b979
Integer scale X axis corrections (#17151)
* Integer scale X axis corrections

* Integer scale: Fall back to normal scale when content is larger than viewport
2024-11-02 09:40:11 -07:00
Antonio Orefice
da5ecaa45a
Add OriginalAspect and OriginalAspectRot uniforms (#17123)
* Initial implementation of CoreAspect uniform

* float -> float_t

* Possibly fix wii_u building

* vulkan: use float instead of float_t;

* slangp: Advertise support of CoreAspect uniform
by defining _RARCH_HAS_COREASPECT_UNIFORM early in the shader source, just after "#extension GL_GOOGLE_cpp_style_line_directive : require"

* CoreAspect + glsl fix: use glUniform1f()

* Add CoreAspectRot uniform.
It reports CoreAspect value or 1/CoreAspect when the content is rotated by 90 or 270 deg.

* Fixed stupid typo

* Just use _HAS_COREASPECT_UNIFORMS to check for CoreAspect uniforms support (was _RARCH_HAS_COREASPECT_UNIFORMS)

* Rename CoreAspect, CoreAspectRot, _HAS_COREASPECT_UNIFORMS to OriginalAspect, OriginlAspectRot, _HAS_ORIGINALASPECT_UNIFORMS

* GLCore: void Pass::build_semantic_float needs glUniform1f.
...how on earth did it worked for UBO !?

* d3d10,11,12, wrong function called by overlook.

* Add test shader, will remove that before PR

* Fix metal rotated aspect reporting

* remove test shader

* Fix C89 Build

* Use OriginalAspectRotated instead of OriginalAspectRot
2024-11-02 04:04:12 -07:00
Eric Warmenhoven
99610f0de6
macOS: fix setting core download url based on rosetta (#17147) 2024-11-02 04:04:02 -07:00
Cathode Ray Dude
e3a0973e30
Added check for filter_exts in compressed file case (#17149) 2024-11-02 04:03:50 -07:00
github-actions
5725e48081 Fetch translations from Crowdin 2024-11-02 00:13:43 +00:00
Eric Warmenhoven
a51160a155
apple: small changes necessary to get ffmpeg record driver working (#17145) 2024-10-31 23:42:35 -07:00
github-actions
b8b0de3716 Fetch translations from Crowdin 2024-11-01 00:16:20 +00:00
Eric Warmenhoven
f175d0e091
tvOS: Add Settings.app option to reset retroarch.cfg (#17143) 2024-10-30 21:49:55 -07:00
Ninoh-FOX
89ca8495e1
better control for sound start/stop in menu is the core has RARCH_NETPLAY_CTL_USE_CORE_PACKET_INTERFACE (#17136) 2024-10-30 17:57:18 -07:00
sonninnos
cbafa3b513
Integer scale 'smart' tweak (#17139) 2024-10-30 17:56:56 -07:00
sonninnos
8790178ae2
Win32: Filebrowser 'Show Hidden Files' corrections (#17140) 2024-10-30 17:56:47 -07:00
sonninnos
94f389ae30
Netplay Fade Chat label correction (#17141) 2024-10-30 17:56:38 -07:00
Bernhard Schelling
cab85c6f8d
Menu support for loading directories as content if a core indicates supports for that (#17142)
A core needs to have "/" in its list of supported extensions to indicate support for loading directories.
If a core additionally supports the disk control interface, also support loading of directories as disk images.
2024-10-30 17:56:30 -07:00
Eric Warmenhoven
5cc9721ea3
Fix webos github action (#17138) 2024-10-30 09:38:19 -07:00
Eric Warmenhoven
1f99ba89ca
ios: buildfix (#17137) 2024-10-30 07:03:11 -07:00
Eric Warmenhoven
cd574f7f33
tvOS: Add WebDAV server for adding files more easily (#17135)
Also update to latest (last) version of GCDWebServer.
2024-10-29 21:07:47 -07:00
github-actions
3b465be243 Fetch translations from Crowdin 2024-10-30 00:15:03 +00:00
Eric Warmenhoven
56810c4a46
apple: default to mfi controller instead of sdl2 (#17133) 2024-10-29 12:05:48 -07:00
Eric Warmenhoven
a26f6f6b45
webdav: fixes for reauth and parallelism (#17132) 2024-10-29 12:03:46 -07:00
sonninnos
8ee6561a26
Vulkan: Use separate matrix for menu (#17134) 2024-10-29 12:03:37 -07:00
github-actions
cb7cd6ef3b Fetch translations from Crowdin 2024-10-29 00:15:08 +00:00
Eric Warmenhoven
f887ebe301
ios9: buildfix (#17131) 2024-10-28 16:38:19 -07:00
zoltanvb
ede9ddcd05
Tests for pointer device and associated buttons. (#17130)
Sensor screen is extended with a pointer (a single white pixel)
and a few indicators for the mouse and lightgun buttons. Pointer
type is selectable from core options (mouse, lightgun, pointer,
old relative lightgun). An extra square indicator shows when
absolute pointer types get near the edge / to the very edge /
return to 0,0 position.
2024-10-28 14:33:17 -07:00
github-actions
320bd8b750 Fetch translations from Crowdin 2024-10-28 00:15:32 +00:00
Eric Warmenhoven
dbf6c19209
macOS: generate up key event for command keys (#17124) (#17126) 2024-10-27 12:42:41 -07:00
Jamiras
758c61afbe
remove RC_CLIENT define (#17127) 2024-10-27 12:42:33 -07:00
github-actions
a0bcf7945d Fetch translations from Crowdin 2024-10-27 00:15:59 +00:00
sonninnos
c847b02206
Integer overscale GPU screenshot crash fixes (#17118) 2024-10-26 06:45:45 -07:00
Eric Warmenhoven
98c7f20eae
iOS: Fix some minor refresh issues (#17112) 2024-10-26 06:45:37 -07:00
Eric Warmenhoven
b955a2ff8b
webdav: add logging around http transactions to try to track failures (#17114) 2024-10-26 06:45:17 -07:00
zoltanvb
55d6a036a7
Changes up to 2024-10-23 (#17116) 2024-10-26 06:45:02 -07:00
sonninnos
771dabbf56
Fix save state screenshot visibility (#17119) 2024-10-26 06:44:54 -07:00
zoltanvb
66eead3afa
Move cacert.h out of deps/, since it does not belong there. (#17122) 2024-10-26 06:44:45 -07:00
github-actions
a118963dc9 Fetch translations from Crowdin 2024-10-26 00:14:01 +00:00
github-actions
562e4ba40f Fetch translations from Crowdin 2024-10-25 00:14:56 +00:00
github-actions
be92b974d2 Fetch translations from Crowdin 2024-10-24 00:15:08 +00:00
github-actions
192c992725 Fetch translations from Crowdin 2024-10-23 00:14:50 +00:00
github-actions
fe9d890331 Fetch translations from Crowdin 2024-10-22 00:14:55 +00:00
Antonio Orefice
e1b2e29d51
slang shaders: add support for __has_include like C++17 macro. (#17109)
* slang shaders: add support for __has_include like C++17 macro.
This adds a new #pragma include_if_exist "filename" directive that acts like #include statements,
but does not return error if the file does not exists.

* removed unuseful define
2024-10-21 14:45:44 -07:00
pstef
790deebe42
Silence GCC 14 warning [-Warray-bounds=] (#17110)
* Silence GCC 14 warning [-Warray-bounds=]

GCC reports a couple of warnings like this example:
libretro-common/cdrom/cdrom.c:395:14: warning: array subscript 6 is outside array bounds of 'unsigned char[6]' [-Warray-bounds=]
  395 |       cmd[6] = cmd[3];
      |       ~~~~~~~^~~~~~~~
libretro-common/cdrom/cdrom.c: In function 'cdrom_unlock':
libretro-common/cdrom/cdrom.c:1268:18: note: at offset 6 into object 'cdb' of size 6
 1268 |    unsigned char cdb[] = {0x1E, 0, 0, 0, 0x2, 0};

The static analysis heuristic doesn't consider the fact that the writes to cmd[6] and later only happen under the condition that `if (cmd[0] == 0xBE || cmd[0] == 0xB9)` and that in all of those cases the array passed is wide enough. So this is a false positive.

Nevertheless, there seems to be an easy way to silence the warning without disabling it: just require all arrays passed to be at least 9 bytes long and explicitly set the size of those arrays that have been shorter to 9.

* Work around the requirement of C89

I used a C99 construct, but this is easy to work around
with a run-time check.

* Restore the check for non-null cmd

It was obsoleted in a previous version, but is needed back now.

---------

Co-authored-by: pstef <3462925+pstef@users.noreply.github.com>
2024-10-21 14:45:23 -07:00
github-actions
fd9f242895 Fetch translations from Crowdin 2024-10-21 00:15:24 +00:00
github-actions
19b8946372 Fetch translations from Crowdin 2024-10-20 00:16:09 +00:00
github-actions
ec4c11268b Fetch translations from Crowdin 2024-10-19 00:13:50 +00:00
Ninoh-FOX
09979e26b9
fixed audio drivers in RARCH_NETPLAY_CTL_USE_CORE_PACKET_INTERFACE (#17105)
* fixed audio drivers in RARCH_NETPLAY_CTL_USE_CORE_PACKET_INTERFACE

fixed audio problem with menu toggle with the new network fuction

* Fix type space
2024-10-18 13:10:42 -07:00
github-actions
9c7919dc58 Fetch translations from Crowdin 2024-10-18 00:14:45 +00:00
sonninnos
2b8d743a85
GLUI icon fixes (#17102) 2024-10-16 12:00:07 -07:00
sonninnos
73fc26c132
RGUI integer scale fix (#17099) 2024-10-15 19:08:58 -07:00
github-actions
73b9a5e899 Fetch translations from Crowdin 2024-10-16 00:14:56 +00:00
github-actions
de38db7d10 Fetch translations from Crowdin 2024-10-15 00:14:20 +00:00
sonninnos
84b58dd001
Pixel perfect integer scaling improvements (#17098) 2024-10-14 14:44:10 -07:00