Commit Graph

65511 Commits

Author SHA1 Message Date
LibretroAdmin 7626b687a7 Simplification of mmdevice_name 2025-07-18 15:47:02 +02:00
LibretroAdmin 923bacfb2e Try to use enum values instead of eRender/eCapture 2025-07-18 15:23:57 +02:00
LibretroAdmin 3a5451dbe2 Attempted buildfix 2025-07-18 15:21:15 +02:00
LibretroAdmin 835e0c8b97 Merge more files 2025-07-18 15:13:10 +02:00
LibretroAdmin 56e8ef55a0 * Merge audio/common/wasapi.c into audio/drivers/wassapi.c
* Buildfix for alsa/drivers/alsathread.c
2025-07-18 14:50:46 +02:00
LibretroAdmin 01187eee04 Some buildfixes 2025-07-18 14:41:55 +02:00
LibretroAdmin 7fb3bf82ec Merge microphone drivers 2025-07-18 14:31:38 +02:00
LibretroAdmin 25edbe17d2 Some UCRT buildfixes 2025-07-18 13:44:56 +02:00
libretroadmin 8bd60af8b7 Put input_st variable behind HAVE_BSV_MOVIE ifdef 2025-07-18 11:26:05 +02:00
libretroadmin cc408864af Silence some code analysis warnings 2025-07-18 10:06:16 +02:00
libretroadmin cd0f159238 Static code analysis warning fixes 2025-07-18 09:26:26 +02:00
LibretroAdmin 180b39cd3d
Merge pull request #18100 from saulfabregwiivc/lvorbis-link-libogc-platforms
allow passing HAVE_OGG_OGC to link to needed OGG libs in PPC portlibs on libOGC platforms (GameCube/Wii), needed for a few cores.
2025-07-18 08:13:20 +02:00
LibretroAdmin 6019fc863b
Merge pull request #18101 from RogueScholar/desktop-entry-file
Add full complement of key/value pairs to Desktop Entry file
2025-07-18 08:12:29 +02:00
libretroadmin 80b3ccebba Silence some static code analysis warnings + code formatting/style nits 2025-07-18 08:11:25 +02:00
Peter J. Mello a4535c4eac
Add all relevant KV pairs to Desktop Entry file
This commit extends the RetroArch desktop entry
file—responsible for integrating the app with
Linux desktop environments—to include all relevant
properties. Some notable aspects:

- **`TryExec`**/**`Exec`**: TryExec _should_
  contain the canonical path to the executable,
  however the RA buildsystem lacks a ready
  mechanism for populating the correct value for
  the target at build time, so we fallback to
  searching $PATH here. To Exec we add the %F
  token, meaning that RA is a "file handler" that
  users are able to drag files onto the launcher
  icon that become arguments to the launch command.
- **`MimeType`**: This key determines which file
  extensions the system should offer to open with RA.
  It should be regularly reviewed for any new MIME
  registrations which need to be represented going
  forward.
- **`PrefersNonDefaultGPU`**: Linux by default offers
  hardware to processes in order from least capable to
  most performant. This key reverses that behavior so
  more demanding emulation cores will run more
  smoothly.
- **`SingleMainWindow`**: Changes the default behavior
  when the launcher is clicked while an instance is
  already running from launch a second instance to
  elevate the main window of the already running one.

Version 1.5 of the Freedesktop [Desktop Entry
Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/) was the reference for these changes.

Signed-off-by: Peter J. Mello <admin@petermello.net>
2025-07-18 03:54:57 +01:00
github-actions dddc66c797 Fetch translations from Crowdin 2025-07-18 00:17:38 +00:00
libretroadmin b23cbf0a57 glslang_read_shader_file - small cleanup 2025-07-18 01:58:40 +02:00
libretroadmin 2f5d95b0cf Move non-essential string_list functions out of file 2025-07-18 01:43:03 +02:00
saulfabreg Wii VC Project 5ed20207f5 allow passing HAVE_OGG_OGC to link to needed OGG libs in PPC portlibs, needed for a few cores. 2025-07-17 18:28:49 -05:00
libretroadmin 9ca8e1c1c1 * Change variable names for characters being written
* menu_cbs_sublabel - skip some unnecessary copies
2025-07-18 00:00:43 +02:00
libretroadmin ae2465f0db Variable name changes 2025-07-17 23:41:27 +02:00
libretroadmin d822cf58a1 C89_BUILD buildfix 2025-07-17 23:03:59 +02:00
libretroadmin ab9535c827 Code analysis cleanups/fixes 2025-07-17 22:28:48 +02:00
libretroadmin dd480aac94 Silence some more code analysis warnings 2025-07-17 12:33:47 +02:00
libretroadmin 4c07e26649 Code analysis fixes - fix some warnings and prevent garbage data 2025-07-17 12:11:31 +02:00
libretroadmin 162d00d73b (libretro-db) Fix code analysis warning 2025-07-17 10:29:58 +02:00
libretroadmin 7b093cc55e More code analysis warning fixes 2025-07-17 10:00:39 +02:00
libretroadmin 195c19a1c9 Fix more static code analysis errors/warnings 2025-07-17 09:44:19 +02:00
libretroadmin 03573db27c Some more static code analysis warning fixes 2025-07-17 09:09:30 +02:00
libretroadmin f45fd77d68 Fix errors and warnings pointed out by static code analysis (Clang) 2025-07-17 08:49:53 +02:00
libretroadmin c6d72062e2 remove dead code 2025-07-17 08:02:06 +02:00
LibretroAdmin 3f4fd3b086
Merge pull request #18099 from JoeOsborn/replay-same-timeline-check
Add "same timeline check" and "future state check" for replays
2025-07-17 07:17:54 +02:00
LibretroAdmin b7479e934b
Merge pull request #18092 from JoeOsborn/replay-compress-checkpoints
Compress checkpoints in replays
2025-07-17 07:17:46 +02:00
libretroadmin efc1f7f8e1 Variable naming cleanups 2025-07-17 06:10:48 +02:00
libretroadmin 807866d799 Style nit 2025-07-17 05:54:24 +02:00
libretroadmin daeb46cf5a Variable name cleanups 2025-07-17 05:36:20 +02:00
libretroadmin cc826c4ca6 Cleanup some variable names and some other cleanups 2025-07-17 05:11:00 +02:00
libretroadmin d8725d77bb Small variable cleanups - should make no functional difference 2025-07-17 04:40:42 +02:00
Joseph C. Osborn 7c05359933 c89 fixes 2025-07-16 10:35:33 -07:00
Joseph C. Osborn 1cc76cd64d Add "same timeline check" and "future state check" for replays
When loading and saving states taken during a replay, their contents
should be compared with the current replay.

- If in playback mode, states from past the end of the current replay
should be disallowed, as should states from an alternate timeline of
the current replay (inconsistent input history)
  - This is because in playback mode, RA replays are read-only
- If in recording mode, states from the future or from another
timeline should overwrite the current replay's data with a warning
- In either playback or recording, loads of states from the past that
have a consistent series of inputs (same timeline) should be loaded
and the replay should be rewound (and truncated in case of recording)

This behavior is as specified in
https://tasvideos.org/LawsOfTAS/OnSavestates

The existing code only implemented some of these checks.
2025-07-16 10:09:09 -07:00
sonninnos 19f6d94a78 Limit core suggestion option only for dynamic platforms 2025-07-16 06:16:43 +03:00
LibretroAdmin df808f7663
Merge pull request #18095 from libretro/libretro-common-refactors
libretro-common refactors: file_path
2025-07-16 04:37:43 +02:00
github-actions c8cb58f1d2 Fetch translations from Crowdin 2025-07-16 00:17:38 +00:00
libretroadmin 2770470695 Rewrite find_last_slash - use one loop, skip two strrchr calls 2025-07-16 01:31:29 +02:00
libretroadmin 047f926540 use last_slash in file_path 2025-07-16 00:31:09 +02:00
libretroadmin d37068cfb8 Move code back 2025-07-15 23:35:37 +02:00
LibretroAdmin 3162b6a438
Merge pull request #18094 from pastalian/fix-disable-pipewire
Fix build with disable-pipewire on systems with pipewire installed
2025-07-15 18:35:53 +02:00
Takuya Wakazono 027564a0c9 Fix build with disable-pipewire on systems with pipewire installed
On systems where pipewire is installed but the build is configured with
--disable-pipewire, HAVE_PIPEWIRE_STABLE is set to 1 while HAVE_PIPEWIRE
is 0. Checking only HAVE_PIPEWIRE_STABLE leads to a build failure.

```
LD retroarch
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: obj-unix/release/camera/camera_driver.o:(.data.rel+0x0): undefined reference to `camera_pipewire'
collect2: error: ld returned 1 exit status
```

Downstream Bug: https://bugs.gentoo.org/960043
2025-07-15 23:27:10 +09:00
Joseph C. Osborn 1e0c723ba3 Fix warnings under many platforms, unpack nested ifdefs in includes. 2025-07-15 07:25:09 -07:00
libretroadmin 14906fc489 Revert "- Cut down on strrchr calls inside loops"
This reverts commit f73d9dead3.
2025-07-15 09:30:13 +02:00