- 21 Dec, 2021 1 commit
-
-
Fabio Fantoni authored
The build was failing with: retro-gtk/meson.build:188:4: ERROR: Got unknown keyword arguments "export_packages", "namespace" Checking https://mesonbuild.com/Pkgconfig-module.html the arguments "export_packages" and "namespace" are not present in pkg.generate, so I removed them to make the build complete
-
- 03 Aug, 2021 3 commits
-
-
Adrien Plazas authored
This properly supports loading games and this avoids retrieving the AV info if the game failed loading, matching what is stated by libretro.h in the documentation of retro_load_game() and retro_get_system_av_info().
-
Adrien Plazas authored
They are virtually identical, so let's accept NULL in load_game() and unconditionally unload any existing game, which is likely the right thing to do anyway. This makes the code simpler.
-
Adrien Plazas authored
This is needed for the tests to pass when we will corresctly support game loading failure as expected by Libretro.
-
- 02 Aug, 2021 1 commit
-
-
Alexander Mikhaylenko authored
DeSmuME 2015 and Gambatte don't like this. It's not clear why - returning NULL there is entirely valid, but it's possible we set those directories too late. Reverts commit b782c726
-
- 01 Aug, 2021 14 commits
-
-
Adrien Plazas authored
-
Adrien Plazas authored
Rename it into RETRO_UNIMPLEMENTED_ENVIRONMENT so we can more easily grep UNIMPLEMENTED to look for implemented API but unimplemented features.
-
Adrien Plazas authored
-
Adrien Plazas authored
This is going to be easier to maintain.
-
Adrien Plazas authored
Moving it out of the tests directory will help using it as a API documentation.
-
Adrien Plazas authored
This ensures the ABI will be correct for this function.
-
Adrien Plazas authored
The strings are supposed to be constant and the booleans and bool, not gboolean. This also fixes the ABI.
-
Adrien Plazas authored
It is supposed to be constant in the first place and we don't transfer its ownership.
-
Adrien Plazas authored
This is clearer and safer.
-
Adrien Plazas authored
This unsets the flag stating some variable got updated when getting the new values and not when checking the flag, as stated in the documentation of RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE.
-
Adrien Plazas authored
This supports explicit software rendering requests.
-
Adrien Plazas authored
This avoids leaks if the core happens to set the hardware render interface multiple times.
-
Adrien Plazas authored
We don't want to duplicate them.
-
Adrien Plazas authored
-
- 31 Jul, 2021 3 commits
-
-
Adrien Plazas authored
This avoids declaring function prototypes in different C files. This also helps knowing where some core functions are defined.
-
Adrien Plazas authored
-
Adrien Plazas authored
It doesn't exist in Libretro and it is equal to English so let's just use English instead.
-
- 30 Jul, 2021 2 commits
-
-
Adrien Plazas authored
This matches the new name in Libretro instead of the deprecated one.
-
Adrien Plazas authored
It is called core_assets_directory now.
-
- 28 Jul, 2021 1 commit
-
-
Adrien Plazas authored
This ensures we use strictly positive values when checking if coordinates are part of the display, avoiding odd results and divisions by 0.
-
- 26 Jul, 2021 4 commits
-
-
Adrien Plazas authored
This will help detecting issues.
-
Adrien Plazas authored
This ensures we return 0 or 1 for booleans.
-
Adrien Plazas authored
This sanitizes strings by returning NULL instead of empty strings. Doing this with a macro avoids accidentally doing it wrongly as fixed by the previous commit.
-
Adrien Plazas authored
This fixes a crash.
-
- 27 Jun, 2021 1 commit
-
-
Alexander Mikhaylenko authored
The combination of GtkGestureClick+GtkEventControllerMotion was a naive direct port from GTK3's event signals. However, it can't really work on touchscreen: motion events never happen. Instead, use a GtkGestureDrag to track the whole press-drag-release sequence at once, and only use GtkEventControllerMotion when not dragging.
-
- 20 Jun, 2021 1 commit
-
-
Adrien Plazas authored
Drop the need to acklowledge the API's unstability, as we will guarantee its stability.
-
- 18 Jun, 2021 2 commits
-
-
Remove pointer grabbing for now, we'll need to reimplement it via raw X11/Wayland APIs later.
-
Alexander Mikhaylenko authored
-
- 23 May, 2021 1 commit
-
-
Damien Cassou authored
-
- 18 Apr, 2021 2 commits
-
-
Adrien Plazas authored
This simplifies and clarifies a bit the IPC error handling.
-
Adrien Plazas authored
This makes the code safer and more concise.
-
- 17 Apr, 2021 1 commit
-
-
- 16 Apr, 2021 3 commits
-
-
Adrien Plazas authored
-
Adrien Plazas authored
-
Adrien Plazas authored
It was forgotten on the previous refactoring.
-