Commit Graph

65469 Commits

Author SHA1 Message Date
sonninnos dc7e8e1811
Prevent stuck Game Focus dupe keyboard event (#17273) 2024-12-20 09:38:01 -08:00
Viačasłaŭ 0ae2b87c57
(Audio/PipeWire) Fill rest buffer with silence. (#17272)
Formatting, fix typo
2024-12-20 07:59:43 -08:00
Viačasłaŭ 963ffc0e77
Add PipeWire audio driver (#17271) 2024-12-19 22:11:27 -08:00
github-actions cde4e9253b Fetch translations from Crowdin 2024-12-20 00:14:47 +00:00
zoltanvb 30a656738b
Introduce video_driver_translate_coord_viewport_wrap clamping variant. (#17196)
Add another version of the coordinate translation that will not
report -0x8000 for offscreen values, but instead map the position
to the respective edge (0x7fff/-0x7fff). Not yet in use.

Udev driver updated to use the wrapper, as all other input drivers do.
2024-12-19 13:30:43 -08:00
Eric Warmenhoven 8d640fc048
ios9: Fix using opengles2 context (#17269) 2024-12-19 13:30:01 -08:00
libretroadmin 17fc55c762 fill_pathname_parent_dir_name - small cleanups 2024-12-19 21:05:43 +01:00
libretroadmin c492e46d96 Change function signature of fill_pathname_parent_dir 2024-12-19 20:51:33 +01:00
libretroadmin d94cc3af72 Simplify fill_pathname_application_path 2024-12-19 20:17:09 +01:00
Jesse Talavera 3cdb95a602 Construct device URLs differently based on the ffmpeg backend 2024-12-18 21:05:30 -05:00
Jesse Talavera b68a588ede Split some ffmpeg camera logic into functions 2024-12-18 20:32:19 -05:00
Jesse Talavera 9ee56da6b0 Prioritize certain backends 2024-12-18 20:31:44 -05:00
libretroadmin 60e5858d51 fill_pathname_application_dir - use path_basedir instead of
path_basedir_wrapper
2024-12-18 23:39:24 +01:00
libretroadmin e53fb82066 Sync libretro-common 2024-12-18 23:00:50 +01:00
libretroadmin 7d71f94dc6 Fix misleading indentation warning 2024-12-18 22:15:35 +01:00
libretroadmin 6b801333e7 file_path - change function signatures - output char array always
is named 's', and size of it 'len'
2024-12-18 21:43:33 +01:00
Jesse Talavera 4beb80c290 Revert "Forward ffmpeg's logging to RetroArch"
This reverts commit 4aac4d5b9e.
2024-12-18 14:52:28 -05:00
Eric Warmenhoven 2650712cb3
Small tweaks to fill_pathname_application_path (#17268) 2024-12-18 11:29:58 -08:00
Jesse Talavera 4aac4d5b9e Forward ffmpeg's logging to RetroArch 2024-12-18 14:28:49 -05:00
libretroadmin 4521f6bcb2 Cleanups 2024-12-18 20:15:58 +01:00
Eric Warmenhoven 47709fe0d5
apple: include bsnes-js core in App Store builds (#17267) 2024-12-18 10:03:54 -08:00
Eric Warmenhoven 569f9a3282
apple: fastlane improvements (#17266)
- remove a lot of duplicated code across mac/ios/appletvos
- restore ability to use either login or app_store_connect_api_key
- pull version string from version.all instead of app store connect
- allow building from alternate branch
- allow skipping upload or making it publicly available
2024-12-18 10:03:42 -08:00
libretroadmin f047c247f9 (gfx/video_shader_parse) Readability 2024-12-18 15:54:42 +01:00
Jesse Talavera 7586ae7dbe Remove stray whitespace 2024-12-17 14:57:36 -05:00
Jesse Talavera 88b6342bb5 Move up some declarations 2024-12-17 14:57:06 -05:00
Jesse Talavera 7b21ed5f93 Set options for the camera and accompanying AV structures 2024-12-17 14:37:29 -05:00
Jesse Talavera d682917e44
Add Linux support for illuminance sensors (#17208)
* First crack at light sensor support for Linux

* Add light-sensor support to most Linux input drivers

* Fix a compiler error

- Whoops, forgot to declare `sdl`

* Refactor linux_illuminance_sensor_t

- Allow the poll rate to be specified
- Poll the sensor on a separate thread
- Open a file handle each time we poll the sensor, since sysfs doesn't update the contents of an existing handle

* Set the `done` flag when closing the light sensor

- Whoops

* Avoid a division by zero when updating the poll rate of an existing sensor

* Don't try to open illuminance sensors from ".", "..", or hidden files

* Never mind

* Fix some silly mistakes

* Skip hidden files, ".", and ".."

* Cancel the sensor poll thread mid-sleep when closing it

- POSIX says it's fine

* Add to CHANGES.md

* Address feedback given on PR

* Use libretro-common's file system instead of stdio
2024-12-17 05:49:39 -08:00
Eric Warmenhoven a4b478524a
iOS/tvOS: Fix more places where paths weren't expanded correctly (#17265) 2024-12-17 05:24:20 -08:00
zoltanvb b0114d4316
Stay on previous CI image for Android. (#17264) 2024-12-17 05:24:10 -08:00
Jesse Talavera ce1f31af8d Don't pass in the driver context to `camera_driver::device_list_new`
- Unlike some other drivers, the camera driver is only initialized when a core actually asks for it
- Therefore, the driver context isn't available when it's time to ask for devices
- I could refactor the camera driver to be created earlier, but then I'd need to refactor the other drivers as well
- That'll come later in another PR
2024-12-16 21:53:37 -05:00
Jesse Talavera 3c73b36cca Remove `const` from some fields 2024-12-16 16:45:12 -05:00
Jesse Talavera 7d31c65af1 Fix compatibility with libswscale < 6.1.100
- sws_scale_frame was introduced in 6.1.100
- Before this change, the driver wouldn't build on my Ubuntu Jammy VM
2024-12-16 16:38:15 -05:00
Jesse Talavera 47e0a163f3 Don't try to link the ffmpeg camera driver twice
- Whoops
2024-12-16 16:28:34 -05:00
Jesse Talavera c63a8d6705 Check for FFmpeg's constitutent libraries before adding flags for them 2024-12-16 15:21:56 -05:00
libretroadmin eb08faa434 Replace strpbrk with strchr - we only need to search for one char 2024-12-16 17:49:44 +01:00
libretroadmin 275c6c0267 (XMB) xmb_path_dynamic_wallpaper - don't use string_replace_substring
unless absolutely necessary - uses memory allocation - single strpbrk
instead gets the job done here
2024-12-16 17:38:09 +01:00
Eric Warmenhoven 7e49b3d3d3 overlay: fix crash on null pointer 2024-12-16 15:59:32 +01:00
Eric Warmenhoven 4351ea3098
apple: fix reinit of gcd task queue (#17262) 2024-12-16 06:00:45 -08:00
Jesse Talavera 33b574198c Swap the buffers after copying the most recent camera frame, but only upon success 2024-12-15 21:39:48 -05:00
Jesse Talavera 024fd873ec Moved polling in the new ffmpeg camera driver to another thread 2024-12-15 21:21:08 -05:00
github-actions 4d7dfd2848 Fetch translations from Crowdin 2024-12-16 00:16:24 +00:00
zoltanvb 5cfaf09f55
Support for analog L2/R2 values when a DS3 controller is used with PS Vita. (#17261) 2024-12-15 09:24:13 -08:00
redenvelope2000 7be52caff8
Update input_driver.c to improve the classic toggle turbo function (#17252)
Changed the logic of the classic toggle turbo mode code such that the pressing order of the turbo button and the button to enable/disable does not matter.
2024-12-15 09:23:59 -08:00
github-actions 928249b20b Fetch translations from Crowdin 2024-12-14 00:14:51 +00:00
Jesse Talavera 2bd45eeb6f Remove an unneeded comment 2024-12-13 14:52:11 -05:00
zoltanvb 7602b10688
Changes up to 2024-12-11 (#17254) 2024-12-13 09:57:25 -08:00
Eric Warmenhoven 48f156fefe
Fix uninitialized variable (#17256) 2024-12-13 09:55:38 -08:00
github-actions 840bee7297 Fetch translations from Crowdin 2024-12-13 00:16:02 +00:00
Jesse Talavera 391be66361 Unref the packet and frame correctly 2024-12-12 18:55:05 -05:00
Jesse Talavera 2d2e9d840c Fix the channels being swapped
- Whoops, wrong format
2024-12-12 18:54:49 -05:00