After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777371 - Support standalone Libretro games
Support standalone Libretro games
Status: RESOLVED FIXED
Product: gnome-games
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-17 06:59 UTC by Adrien Plazas
Modified: 2017-02-20 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
core: Add Core.prepare() (1.71 KB, patch)
2017-02-20 08:07 UTC, Adrien Plazas
committed Details | Review
core-descriptor: Add methods for standalone cores (2.12 KB, patch)
2017-02-20 08:07 UTC, Adrien Plazas
committed Details | Review
retro: Add RetroRunner.for_core_descriptor() (5.00 KB, patch)
2017-02-20 08:22 UTC, Adrien Plazas
committed Details | Review
Add libretro plugin (9.20 KB, patch)
2017-02-20 08:22 UTC, Adrien Plazas
committed Details | Review

Description Adrien Plazas 2017-01-17 06:59:54 UTC
Games should be able to detect and run standalone Libretro games.
Comment 1 Adrien Plazas 2017-02-20 08:07:41 UTC
Created attachment 346229 [details] [review]
core: Add Core.prepare()

Allows to prepare standalone Libretro cores by replacing the calls to
load_game() by calls to prepare() as standalone games don't have a game
to load but nonetheless require retro_load_game() to be called.
Comment 2 Adrien Plazas 2017-02-20 08:07:47 UTC
Created attachment 346230 [details] [review]
core-descriptor: Add methods for standalone cores

Add several methods useful to handle standalone Libretro cores.
Comment 3 Adrien Plazas 2017-02-20 08:09:50 UTC
Attachment 346229 [details] pushed as e8ab1d7 - core: Add Core.prepare()
Attachment 346230 [details] pushed as 398d7b1 - core-descriptor: Add methods for standalone cores
Comment 4 Adrien Plazas 2017-02-20 08:22:01 UTC
Created attachment 346239 [details] [review]
retro: Add RetroRunner.for_core_descriptor()

Allow to contruct a RetroRunner from a Retro.CoreDescriptor. Also adapt
other functions like prepare_core() so they can work with no
RetroCoreSource nor platform.

This will be used in the next commit to run standalone Libretro cores.
Comment 5 Adrien Plazas 2017-02-20 08:22:07 UTC
Created attachment 346240 [details] [review]
Add libretro plugin

Add the libretro plugin, allowing to run standalone Libretro games
shipping a Libretro core descriptor.