1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00
Commit Graph

62108 Commits

Author SHA1 Message Date
Colin Kinloch
297aa1ff72
(Wayland) Build pointer-constraints and relative-pointer protocols (#15071)
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-09 19:54:36 +01:00
github-actions
e99efba2b9 Fetch translations from Crowdin 2023-03-09 00:12:19 +00:00
Colin Kinloch
e54495235e
(Wayland) Wait for splash screen configuration (#14485)
* (Wayland) Wait for splash screen configuration

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland/libdecor) Remove unnecessary context creation check. Log library load.

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland) Bring xdg_toplevel configure in line with libdecor and add icon to splash screen

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

---------

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-08 22:56:24 +01:00
warmenhoven
04b0421efc
Add App Category to a few places it should have been (#15019) 2023-03-08 20:59:14 +01:00
Colin Kinloch
e31b7fe6c2
(Wayland) Fix resize check (#15065)
* (Wayland) Fix resize check

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland/GL) Correct scaling on resize

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland) Fix fullscreen buffers being initially double scaled

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

---------

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-08 20:08:31 +01:00
github-actions
51eafdd7fd Fetch translations from Crowdin 2023-03-08 00:12:19 +00:00
Joe Osborn
807640fed3
Associate states with replays (#15070)
* change bsv file suffix to replay, update strings

* add trivial RPLY block to save states

* WIP rerecording support, doesn't load states properly yet--issue with checking identifiers?

* Fixed a type error to get time identifiers working right, ready for testing

* handle case where state without replay data is loaded during replay

* cleanups

* whitespace cleanup

* Cleanups, change replay file format magic, fix logic around future states

* Remove failed future message

* Add play-replay-from-slot command, fix load-state-from-slot to use given slot

* build fixes

* Fix race conditions in emscripten build and incorrect replay state incrementing

* Style fix for single line if

---------

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-03-08 00:10:59 +01:00
zoltanvb
ed2ffb5393
Minor menu opacity fixes. (#15069)
Remove "Framebuffer opacity" from XMB as it does not use it.
Also, rename the corresponding menu title, since "framebuffer"
is not that intuitive.
2023-03-08 00:10:27 +01:00
sonninnos
17b46b5f93
(Win32) Window size improvements (#15068) 2023-03-07 16:51:08 +01:00
github-actions
01a997345f Fetch translations from Crowdin 2023-03-07 00:13:20 +00:00
LibretroAdmin
77e2cfd20c
Revert "Use same Xcode project for iOS as is used for packaging (#15061)" (#15066)
This reverts commit 74bbc497ce.
2023-03-06 23:55:25 +01:00
warmenhoven
74bbc497ce
Use same Xcode project for iOS as is used for packaging (#15061) 2023-03-06 19:57:26 +01:00
warmenhoven
a60249ff87
Fix #15059 Compile in presence for discord (#15063)
Also relying on $TMPDIR is problematic because Discord uses
NSTemporaryDirectory() which may not be the same.
2023-03-06 19:57:08 +01:00
github-actions
b59cd4fcd8 Fetch translations from Crowdin 2023-03-06 00:12:35 +00:00
sonninnos
4699d91ed5
(Win32) Use core geometry as window limit (#15060) 2023-03-05 15:21:05 +01:00
github-actions
a1fdab04fb Fetch translations from Crowdin 2023-03-05 00:14:31 +00:00
github-actions
4101d8166a Fetch translations from Crowdin 2023-03-04 00:11:36 +00:00
Joe Osborn
4d81f70f00
Replay nomenclature (#15054)
* change bsv file suffix to replay, update strings

* Fix bsv cli args

* Fix help whitespace

* Fix another message

---------

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-03-03 23:16:48 +01:00
sonninnos
a256a504a8
Fix auto savestate path (#15055) 2023-03-03 23:16:20 +01:00
libretroadmin
f60b3ec7a1 Fix MSVC error 2023-03-03 20:07:40 +01:00
andymcca
989359479c
Fix no on-screen notifications (#15052)
This was broken in commit 083b14b85c - my bad, as I forgot to re-add the call to sdl_render_msg when reorganising sdl_gfx_frame!
2023-03-03 17:51:29 +01:00
sonninnos
84691edd3f
(Win32) Limit minimum window size (#15053) 2023-03-03 17:50:30 +01:00
Gabriel Morazán
34148dab49
(UWP) Add ANGLE DLL files (#15051) 2023-03-03 10:55:24 +01:00
github-actions
7777be2ec1 Fetch translations from Crowdin 2023-03-03 01:52:38 +00:00
warmenhoven
f5a2d1598a
Make sure to call steam_poll. (#15050) 2023-03-03 01:53:16 +01:00
Joe Osborn
2125770236
Replay UI support (#15048)
* Add bsv replay controls (not yet fully implemented), remove toggle

see notes in task_movie.c, make sure command.c calls the right
functions, check retroarch.c and other todos.

bsv files are also now stored with states, not saves.

* Compilation fixes

* Added command impls for play and record replay, and some code in load state to do the right thing there

* Guard some parts of the new code with HAVE_BSV_MOVIE

* wip, menu fixes

* more menu fixes, osd for movie errors, halt recording properly

* Menu and label fixes

* move bsvs to own file suffix series under savestates, fix recording and playback command validity checks

* Fix replay autoincrement

* fix endif placement, whoops

---------

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-03-03 00:52:22 +01:00
Manuel Alfayate Corchete
6e27b6f571
[Vulkan] Don't clamp the number of requested images. (#15047) 2023-03-03 00:49:02 +01:00
warmenhoven
a49cf1e7e3
Break Steam mac build out into separate scheme, to avoid certain flags (#15046) 2023-03-02 20:09:36 +01:00
Jesse Talavera-Greenberg
152867d14f
Revert "Fix #15039 (#15042)" (#15043)
This reverts commit c3a5a25d43.
2023-03-02 02:08:56 +01:00
github-actions
2809a1f28f Fetch translations from Crowdin 2023-03-02 00:13:14 +00:00
Gabriel Morazán
9b2a4e6c88
(UWP/Xbox) Major Build Overhaul (#15040)
* (UWP) Major Build Overhaul

* (UWP) Add Back Assets

GitHub Desktop is stupid and ignored these files

* (UWP) Fix D3D12 Regression
2023-03-01 14:13:24 +01:00
Jesse Talavera-Greenberg
c3a5a25d43
Fix #15039 (#15042)
- Move the uninit_libretro_symbols call to the end
- The drivers may need access to the core for deinitialization
2023-03-01 13:34:10 +01:00
warmenhoven
8f70da6b0c
OSX: Make sure to use the file system path name, not the URL name (#15038) 2023-03-01 02:01:46 +01:00
github-actions
ec42d76035 Fetch translations from Crowdin 2023-03-01 00:14:45 +00:00
warmenhoven
bf5739b735
More changes for Steam on Mac (#15036)
* Additional Steam build cleanups

* Fix Mac directories for Steam
2023-02-28 21:28:59 +01:00
libretroadmin
0422dfb5b5 Cleanups 2023-02-28 18:32:11 +01:00
github-actions
e8d88f1b78 Fetch translations from Crowdin 2023-02-28 00:12:26 +00:00
sonninnos
9d8aee53fa
(Win32) Fix restart if path has spaces (#15034) 2023-02-27 22:24:41 +01:00
Joe Osborn
a1903eee15
Emscripten pthread tweaks (#15033)
* add more documentation to emscripten, pthread support, and flag to not show asset warnings

* typo in docs

---------

Co-authored-by: thelamer <ryankuba@gmail.com>
2023-02-27 19:56:12 +01:00
warmenhoven
67372e0f38
Use xcodebuild -exportArchive rather than assuming archive structure (#15032) 2023-02-27 19:09:45 +01:00
warmenhoven
c226392358
Another try at creating a steam build for the mac (#15031) 2023-02-27 18:09:50 +01:00
sonninnos
85fb7f9257
Add recordings to video history playlist (#15027) 2023-02-26 21:50:35 +01:00
HyperspaceMadness
e4a11cff59
Shader Preset - Wildcard Replacement in Paths on Load (#15023)
When a simple preset loads, wildcards which are found in paths inside the presets will 
be replaced with values coming from the current RetroArch context.  This will operate
on both texture paths and reference paths.

This would allow you to do things like have one preset which could be used with the entire list of images from the Bezel Project

E.G. 
    "/shaders/MyBackground_$VID-DRV$ _$CORE$.png" 
would be replaced with
   "/shaders/MyBackground_glcore_YabaSanshiro.png"
If  no file found at that path, the path will revert to the original path, so operates as a fallback
   "/shaders/MyBackground_$VID-DRV$ _$CORE$.png" 

  * Possible wildcards/tokens to be replaced:
 * 
 *   $CONTENT-DIR$ -> Content Directory of the game rom
 * 
 *   $CORE$       -> Core name
 * 
 *   $GAME$       -> Game ROM's name
 * 
 *   $VID-DRV$   -> Video Driver: Currently active driver, possible replacement values:
 *       glcore
 *       gl
 *       vulkan
 *       d3d11
 *       d3d9_hlsl
 *       "N/A"
 * 
 *   $VID-DRV-SHADER-EXT$   -> Video Driver Shader File Extension: The extension of shaders type supported by the current video driver:
 *       cg
 *       glsl
 *       slang
 * 
 *   $VID-DRV-PRESET-EXT$   -> Video Driver Preset File Extension: The extension of shaders type supported by the current video driver:
 *       cgp
 *       glslp
 *       slangp
 * 
 *   $CORE-REQ-ROT$   -> Core Requested Rotation: Rotation the core is requesting, possible replacement values:
 *       CORE-REQ-ROT-0
 *       CORE-REQ-ROT-90
 *       CORE-REQ-ROT-180
 *       CORE-REQ-ROT-270
 * 
 *   $VID-ALLOW-CORE-ROT$   -> Video Allow Core Rotation: Reflects Retroarch's setting allowing the core requested rotation to affect the final rotation:
 *       VID-ALLOW-CORE-ROT-OFF
 *       VID-ALLOW-CORE-ROT-ON
 * 
 *   $VID-USER-ROT$   -> Video User Rotation: Rotation the core is requesting, possible replacement values, does not affect the UI:
 *       VID-USER-ROT-0
 *       VID-USER-ROT-90
 *       VID-USER-ROT-180
 *       VID-USER-ROT-270
 * 
 *   $VID-FINAL-ROT$   -> Video Final Rotation: Rotation which is the sum of the user rotation and the core rotation if it has been allowed, does not affect the UI:
 *       VID-FINAL-ROT-0
 *       VID-FINAL-ROT-90
 *       VID-FINAL-ROT-180
 *       VID-FINAL-ROT-270
 * 
 *   $SCREEN-ORIENT$   -> Screen Orientation: User adjusted screen orientation, will change windows from landscape to portrait, including the Retroarch UI:
 *       SCREEN-ORIENT-0
 *       SCREEN-ORIENT-90
 *       SCREEN-ORIENT-180
 *       SCREEN-ORIENT-270
 * 
 *   $VIEW-ASPECT-ORIENT$   -> Viewport Aspect Orientation: Orientation of the aspect ratio of the RetroArch viewport
 *       VIEW-ASPECT-ORIENT-HORZ
 *       VIEW-ASPECT-ORIENT-VERT
 * 
 *   $CORE-ASPECT-ORIENT$   -> Core Aspect Orientation: Orientation of the aspect ratio requested by the core
 *       CORE-ASPECT-ORIENT-HORZ
 *       CORE-ASPECT-ORIENT-VERT
 * 
 *   $PRESET_DIR$  -> Preset directory's name
 * 
 *   $PRESET$     -> Preset's name
 * 
 * If no wildcards are found within the path, or the path 
 * after replacing the wildcards does not exist on disk,
 * the path returned will be unaffected.
2023-02-26 19:06:57 +01:00
LibretroAdmin
a2f34a6836
Update shader_glsl.c 2023-02-26 19:03:05 +01:00
Nicolas Adenis-Lamarre
7e2e87ad4a
fix udev guns input when id_mouse is not id_joystick (#15026)
the commit cfe9d60f51
introduces an issues on guns inputs for drivers udev, dinput, winraw and x11.
A local variable called "port" is redefining the function argument variable and
is causing bad calls in subsequent function calls.

In short, functionnally, if you have only 1 gun and 1 pad on your system, all works.
As soon as you use several pads or several guns, you may have issues,
because subsequent calls use the joystick port instead of the device port as argument.

IMPORTANT NOTE : this fix was done originally for the batocera project which uses only the udev driver,
this is why it is focused on udev only.
The same thing must be done and tested for dinput, winraw and x11.
I've not the ability to test them.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2023-02-26 15:52:20 +01:00
libretroadmin
3f485de88c i(dinput/winraw/x11) Fix issue pointed out in PR #15026 2023-02-26 15:51:37 +01:00
sonninnos
6622cbb69d
(D3D11/12) Cleanups (#15025) 2023-02-26 13:27:05 +01:00
github-actions
e34168e44c Fetch translations from Crowdin 2023-02-26 00:12:35 +00:00
libretroadmin
1314d9479b (Griffin) Add HAVE_MIST files
(Command.c) Remove some unused variables
2023-02-25 17:51:16 +01:00
LibretroAdmin
9192abb608
Revert "steam support for mac (#15018)" (#15022)
This reverts commit 3fa1e32bc6.
2023-02-25 17:26:34 +01:00