Commit graph

1756 commits

Author SHA1 Message Date
pjft
c552292ff4
Merge pull request #820 from iratahack/Ubuntu-22.04
Resolved compilation errors/warnings when building on Ubuntu 22.04.2 with clang
2023-08-10 19:52:13 +01:00
Craig Hackney
7a944ff374
Updates to allow building on Ubuntu-22.04.2 with clang 2023-08-10 11:01:02 -07:00
Jools Wills
cda7de6879 bump version to v2.11.2 2023-04-13 15:23:07 +01:00
cmitu
b01984a161 input: export additional info for joysticks inputs
Added some extra info to help RetroPie's auto-configuration scripts by exporting the joystick Vendor and Product IDs, which should help with RetroArch's joypad profile generation.

 Since 2.0.14, SDL's joystick name (`SDL_CreateJoystickName`) is a normalized version of the name reported by the OS (culled consecutive spaces, trimming trailing spaces, renaming known joystick names like Xbox/PS). This breaks the input auto-configuration scripts in RetroPie, which generate a config with new name, while the emulators/ports expect to find the OS reported name (e.g. RetroArch - see #3398 [1] for an example).

 This issue is affecting especially PC users, which are not using RetroPie's (old) SDL version and who's RetroArch configuration is incomplete.
Using the Vendor/Product ID would help these situations and support the new SDL versions when added to RetroPie.

[1] https://github.com/RetroPie/RetroPie-Setup/issues/3398
2023-04-13 15:22:33 +01:00
Jools Wills
a013e72976 bump version to v2.11.1 2023-02-22 14:12:25 +00:00
Jools Wills
ac482e3970 Merge remote-tracking branch 'retropie/master' into stable 2023-02-22 14:11:21 +00:00
pjft
34b2545b0d
Merge pull request #815 from cmitu/input-vestige
input: remove useless XML node in the temporary output
2022-12-15 07:58:03 +00:00
cmitu
5bc3fba063 input: remove useless XML node in the temporary output
The `<inputAction>` node is useless for the temporary input configuration, so remove it.

Normally, because of the previous `reset` call of the parent document, it would be empty, but I've encountered situations when the memory is not cleared and there's (random binary) garbage added to the temporary configuration file. This results in a broken XML file and the auto-configuration scripts in RetroPie will all fail.
2022-12-15 06:32:57 +00:00
pjft
91d2789224
Merge pull request #813 from sylt/fix-memleaks
TextureData: Fix memory leak of svgImage
2022-12-05 14:37:33 +00:00
Richard Eklycke
5a6ff039c7 TextureData: Fix memory leak of svgImage 2022-12-04 23:29:44 +01:00
Jools Wills
0c4b42deac bump version to v2.12.0-dev 2022-09-18 18:01:54 +01:00
Jools Wills
a0c0b90a72 bump version to v2.11.0 2022-09-18 18:00:03 +01:00
Jools Wills
a885fa262f Merge remote-tracking branch 'retropie/master' into stable 2022-09-18 17:57:18 +01:00
pjft
52c04d7786
Merge pull request #806 from sylt/fix-shutdown-crash
CollectionSystemManager: Fix possible crash in destructor
2022-08-27 21:37:38 +01:00
pjft
b5e1950500
Merge pull request #802 from cmitu/view-bulk-remove-2
ViewController: improves bulk removal of entries
2022-08-26 22:59:38 +01:00
pjft
48b2db560a
Merge pull request #809 from Gemba/fix_num_joystick_assertion
Fixes ES crash after boot on stale SDL joy add/remove events.
2022-08-23 17:13:22 +01:00
pjft
2600ba9bf0
Merge pull request #807 from cmitu/get-the-time
timeutil: fix building with recent `gcc` versions.
2022-08-22 22:00:15 +01:00
Gemba
4ba672b7cd Fixes ES crash after boot on stale SDL joy add/remove events.
This happens whenever a joystick is remved during ES splashscreen. Putting the PR here after initial discussion in forum:

https://retropie.org.uk/forum/topic/33014/failed-assertion-on-connected-joysticks-terminates-emulationstation-on-specific-conditions
2022-08-22 19:11:53 +02:00
pjft
1f756a9adf
Merge pull request #805 from sylt/master
FileSystemUtil: Update path cache when creating new directory
2022-08-22 08:10:31 +01:00
cmitu
5ba5498a62 timeutil: fix building with recent gcc versions.
Included `time.h` to get the declarations of `time_t` and `struct tm`.
Should fix building with `gcc` 12.x.
2022-08-20 17:04:51 +01:00
Richard Eklycke
dc96e7c29e CollectionSystemManager: Fix possible crash in destructor
This could happen if no mCustomCollectionsBundle was initialized.
2022-08-20 16:25:59 +02:00
Richard Eklycke
3feff1c4dd FileSystemUtil: Update path cache when creating new directory
With this fix in place, emulationstation will start up correctly
when there is no ~/.emulationstation directory present.
2022-08-20 15:47:48 +02:00
cmitu
48ef225796 ViewController: improve bulk removal of entries
Added an extra parameter for the `remove` call, hinting that a refresh of the View is not desired.
This skips any `onFileChanged` event called at the end of `remove`, leaving it to the caller to explicitely call the `onFileChanged` method. The skip decreases the time spent in `remove`.

The sole usage - right now - is during the initial built-in collections creation, when the `recent` collection trimming can take a long time when it has >>50 entries.
2022-08-08 18:18:55 +01:00
Jools Wills
86a0823c46
Merge pull request #795 from gizmo98/opengl21
renderer: Add build option for OpenGL 2.1
2022-07-13 14:11:27 +01:00
Stefan
1b239144a1
renderer: Add build option for OpenGL 2.1
Add option USE_GL21 which can be activated with „-DUSE_GL21=On“. Use
OpenGL 1.4 by default for backward compatibility.
2022-06-12 12:20:22 +02:00
pjft
c11b9ec7d1
Merge pull request #794 from cmitu/del2-metadata
gamelists: remove scraped files when removing game
2022-06-02 09:18:28 +01:00
cmitu
df9fa3bcab gamelists: remove scraped files when removing game
Remove thumbnail, video, image and marquee files for a game when the game file is removed. Check for shared assets when deleting the resources, just in case the scraped files are used in another gamelist, for another game.
2022-06-01 18:33:08 +03:00
Jools Wills
7e02b26215
Merge pull request #652 from hhromic/modernise-findsdl2
Modernise SDL2 CMake find module
2022-05-22 20:40:43 +01:00
Jools Wills
6451038d2b
Merge pull request #792 from cmitu/audio-changes
RPI support: split omxplayer build option
2022-05-22 20:40:01 +01:00
pjft
3f47f0b2ad
Merge pull request #793 from cmitu/platform-updates
scrapers: platform updates
2022-05-20 07:55:09 +01:00
cmitu
6bb30ae3bb scrapers: platform updates
Added for scraping:
  * TI-99 (ScreenScraper, TheGamesDB)
  * Dragon32/64 (ScreenScraper)
2022-05-15 07:16:19 +01:00
pjft
7e23edb43d
Merge pull request #790 from obrie/game-select-omx-freeze-alt
Fix race condition between Video component and Scripting events causing ES to freeze
2022-05-13 11:31:11 +01:00
Aaron Pfeifer
0d9cbb6e16 Fix VideoPlayerComponent not handling multiple child processes needed to be reaped when Scripting events are being fired 2022-05-12 21:00:11 -04:00
cmitu
b99e8c21ba RPI support: add a separate omxplayer build option
Modified the build options and source files to enable `omxplayer` for video previews only when the `OMX` option is used.
Updated the build instructions on RPI accordingly and added some notes about the deprecation of the BRCM GPU drivers in RasPI OS 'Bullseye'.

Previously, the `RPI` build option would be used to add both RPI specific audio settings/VRAM limits AND add `omxplayer` support. However, `omxplayer` does not work with the RPI KMS video driver (`vc4-kms-v3d`) or with a 64bit RPI system, due to the lack of OpenMAX (OMX) API support.
The new RasPi OS ('bullseye') has made the KMS driver the default [1] and doesn't offer `omxplayer` anymore (considered deprecated [2]).

Splitting the OMX support from the RPI option allows to set some default values for RPI systems without automatically adding the `omxplayer` bits.

[1] https://www.raspberrypi.com/news/raspberry-pi-os-debian-bullseye/
[2] https://github.com/popcornmix/omxplayer/commit/1f1d0ccd65
2022-05-07 17:54:05 +01:00
pjft
25971d2989
Merge pull request #791 from cmitu/fixup1
guis: fix wrong dialog title for video resolution
2022-05-02 08:49:18 +01:00
cmitu
4e70a24928 fix wrong dialog title 2022-05-01 07:08:08 +01:00
Jools Wills
3d22c283d8 bump version to v2.10.3 2022-04-27 02:57:40 +01:00
Jools Wills
9663f5eaed Merge remote-tracking branch 'retropie/master' into stable 2022-04-27 02:56:28 +01:00
pjft
e26fa8d48b
Merge pull request #784 from Gemba/fb_enhance_cli_help
Brooming of --help output
2022-04-24 22:07:37 +01:00
pjft
bdfa2e8274
Merge pull request #787 from Gemba/fb_paging_lb_rb_enhanced
Cursor movement more user friendly when using paging with full page.
2022-04-24 22:01:43 +01:00
pjft
b93b19b9c1
Merge pull request #786 from Gemba/fix_quicksys_select_scrolling
fixes continued scrolling on system leave and reenter navigation
2022-04-24 21:58:27 +01:00
Jools Wills
3079ef8166
Merge pull request #789 from cmitu/shuffle-bobble
SystemView: fix random system warp crash
2022-04-20 16:37:06 +01:00
cmitu
199b9556e4 SystemView: fix random system warp crash
When no Game system is visible, choosing a random system in the carousel will lead to a crash.
Added an extra check before the random shuffle is performed.
2022-04-20 16:19:19 +01:00
Gemba
feaf44afac restructured --help output, removed legacy --help output from README.md and
removed surplus SplashScreenProgress switch (always true).
2022-03-20 22:12:13 +01:00
Jools Wills
2dd5e6b679 bump version to v2.10.2 2022-03-07 01:08:31 +00:00
Jools Wills
677f63c9ea Merge remote-tracking branch 'retropie/master' into stable 2022-03-07 01:08:09 +00:00
Gemba
7589ced632 Cursor movement more user friendly when using paging with full page. 2022-03-05 10:42:14 +01:00
Gemba
69ee73c764 fixes continued scrolling on system leave and reenter navigation 2022-03-01 08:45:17 +01:00
Tomas Jakobsson
9277c352ab
Merge pull request #780 from tomaz82/skip_directory_check
Skip isDirectory check on known directory paths
2022-02-13 15:48:42 +01:00
Jools Wills
ba62e70303
Merge pull request #782 from cmitu/mame-resources2
resources: update MAME files and add a generator
2022-02-12 20:12:10 +00:00