191 Commits

Author SHA1 Message Date
libretroadmin
51d238875e Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only
ever implemented for OpenGL2 driver, lots of code debt, best to
instead just keep improving the overlay system instead which is
already available for most video drivers
2023-02-23 21:03:41 +01:00
libretroadmin
7ebab640d7 Cleanups/style nits 2023-02-23 13:15:14 +01:00
libretroadmin
e8152870f6 (PSP) Buildfix 2023-02-11 09:12:42 +01:00
libretroadmin
35860b4d47 Typo fix 2023-02-10 19:23:14 +01:00
libretroadmin
824c1dea8c Fix header include 2023-02-10 19:19:32 +01:00
libretroadmin
8f1af4a2e6 (Frontend) Style nits/cleanups 2022-12-15 14:34:22 +01:00
LibretroAdmin
03a2f10117 Turn some variables static 2022-10-31 00:20:23 +01:00
AKuHAK
3a6a34b2dd
(Frontend) Fix default remaps folder for various cores: remap should be nested in config folder (#14563) 2022-10-29 16:34:08 +02:00
LibretroAdmin
d30f16dc79 Remove cursor directory/cursor manager list - Views obsoleted
this
2022-10-25 15:21:47 +02:00
LibretroAdmin
fcbd72dbf3
Use flags pt4 (#14497)
* * Use flags for rarch_state
* Get rid of ^M linebreaks in retroarch_types.h

* Buildfixes for consoles

* (audio driver) use flags instead of bools

* (video) Use flags instead of bools

* Rewrite input driver state bools into flags
2022-10-08 10:39:15 +02:00
LibretroAdmin
f1ff92c881 * menu_entries_append and menu_entries_append_enum are now combined into
one - if you set the last parameter to a valid 'rarch_setting_t' pointer
and enum_msg to MSG_UNKNOWN, you will get the previous menu_entries_append
behavior
* Renamed remaining function to menu_entries_append so that we have one
consistent way of adding menu entries instead of two
Reduces some code duplication significantly
2022-08-27 17:40:52 +02:00
LibretroAdmin
6f738d4fbd Gradually get rid of strcpy_literal
Reasons:
1 - Just a macro for strcpy
1.2 - doesn't have a return type unlike strlcpy, can't be used
for string concatenation
1.3 - unsafe compared to strlcpy

Do either manual string assignment per character or strlcpy, no
inbetween by resorting to strcpy
2022-08-23 15:04:47 +02:00
Cthulhu-throwaway
6b9a2b4bb0
(Netplay) Small launch compatibility patch adjustments (#14251) 2022-07-29 22:49:10 +02:00
Cthulhu-throwaway
566b4b4520
(Vita) Silence warning (#14218) 2022-07-25 10:43:48 +02:00
Cthulhu-throwaway
153f77d764
(Netplay/Vita) Launch compatibility patch (#14215) 2022-07-25 07:07:22 +02:00
libretroadmin
d95e426b4e (Platform drivers) Cleanups - get rid of unnecessary logs
(VGA Font driver) Get rid of unused code by if 0ing it out
2022-07-08 22:10:53 +02:00
Francisco Javier Trujillo Mata
86b47b4859
[PSP] Update Retroarch to latest PSPDev status (#13544)
* Added newlib changes

* Add action to launch PPSSPP simulator

* Remove legacy config for the stack and heap

* Add pthread

* Simplify kernel_functions and improve references to HAVE_KERNEL_PRX

* Add some flags

* Improve audio init/deinit

* Improve exit by clicking home

* Add CI for PSP1

* Update PSP.yml
2022-01-25 03:50:18 +01:00
Vladimir Serbinenko
2ca982691b
VITA: Fix early crash (#13507) 2022-01-17 20:38:04 +01:00
Nikos Chantziaras
430baf7c21
Add Linux GameMode support (#13339)
This can fix a lot of performance issues, like audio crackling and frame
time spikes. This requires the GameMode package to be installed. See:

https://github.com/FeralInteractive/gamemode

This commit adds a "Game Mode" bool option to the "Power
Management" and "Latency" settings sections, and it can be toggled
on/off without restarting RA.

The actual toggling of game mode happens in a new frontend platform
interface function. Perhaps this will become useful for other platforms
that provide some equivalent of Linux GameMode.

Since the GameMode ABI is fixed, and the API comes as a single,
header-only file with no actual deps, we simply bundle the header
(deps/feralgamemode/gamemode_client.h.) That way, all Linux builds will
have support for GameMode regardless of whether the GameMode development
package is installed or not.
2021-12-14 14:07:42 +01:00
twinaphex
5b3942eae7 * (PSP/Vita) Remove unused variables
* (Switch/libnx) remove dead code
* (Lakka/Switch/libnx) It was a mistake to include
  switch_performance_profiles.h inside lakka.h, it was creating warnings
for nearly every file. Instead, it gets optionally included for the
files that need it
2021-08-12 18:51:33 +02:00
twinaphex
35543ecd91 Move defines files over to libretro-common 2021-05-18 22:15:04 +02:00
twinaphex
f6a8480f21 (platform_psp.c) Switch to strlcpys instead of sprintf 2021-05-18 13:57:23 +02:00
Francisco Javier Trujillo Mata
3f91423a3a Remove legacy way of using logs for PS2 and PSP platform 2021-01-19 14:31:45 +01:00
twinaphex
4c51e31b9d (Platform) Cleanups + add missing function pointer bind for Darwin 2021-01-16 16:14:03 +01:00
OsirizX
b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
David Guillen Fandos
a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
David Guillen Fandos
f5693f15e7 Make get_lakka_version available in all builds
This simplifies a bit the code, for some new lakka patches to come.
2020-11-23 18:44:24 +01:00
twinaphex
3ac75c043e Jdgleaver improvements 2020-11-20 03:55:55 +01:00
twinaphex
9ee1e33e09 Only attempt to call dir_check_defaults once per runtime session
when calling the frontend environment get callback - we want to
look at the 'default' directories, and then if they don't yet exist,
auto-create them so we can store files in them.
2020-11-19 07:10:22 +01:00
cyee
bcc7dde90d VITA: proper handling of boot params 2020-11-18 08:22:39 +01:00
Francisco José García García
e943ac262f [VITA] Remove old threading workaround 2020-11-15 09:41:37 +01:00
cyee
1541303574 fix code review comment 2020-11-08 01:15:59 -08:00
cyee
9e9e9af8dd VITA: fix crash when boot params is missing 2020-11-07 14:03:12 -08:00
Autechre
4b182446e9
Revert "VITA: fix crash when started with missing boot params" 2020-11-07 10:01:56 +01:00
cyee
186cae258d fix crash when started with missing boot params 2020-11-06 13:23:53 -08:00
twinaphex
98e9109d45 use strcpy_literal for string literals 2020-09-21 00:59:37 +02:00
twinaphex
4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
twinaphex
855351de9e Reorder g_defaults, alignment 2020-08-16 04:38:02 +02:00
Francisco José García García
49b7a03335 (VITA) Rename frontend_psp_get_mem_used to free 2020-07-23 21:04:49 +02:00
twinaphex
eba83390ba Warning fixes 2020-07-23 07:39:08 +02:00
Rinnegatamante
0644190121 [VITA] Added custom bubbles support. 2020-06-08 21:56:10 +02:00
twinaphex
51b868b6a4 (Vita) Buildfix 2020-05-24 06:47:04 +02:00
Weedy Weed Smoker
7d849ac8fb
International: Add all the languages from Crowdin… 2020-05-02 13:29:17 +07:00
twinaphex
1eb612135b Revert "Revert "Take this out - cores that need usleep and such - address it in""
This reverts commit 7e3a400cb7d45be00415b39d90aa5365aba46fe9.
2020-04-19 19:18:53 +02:00
twinaphex
7e3a400cb7 Revert "Take this out - cores that need usleep and such - address it in"
This reverts commit 48b6b4ca8ea45b8a54533c486a0ca7d95eff4fed.
2020-04-19 18:54:05 +02:00
twinaphex
48b6b4ca8e Take this out - cores that need usleep and such - address it in
the core itself, or rewrite the reference so it uses libretro-common
sleeping functions instead
2020-04-19 18:15:47 +02:00
Vladimir Serbinenko
a029cb9fc5 Add usleep and sleep on Vita.
libstdc++ links against them under some circumstances. This is needed for
neocd
2020-04-17 00:58:01 +02:00
twinaphex
2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01:00
twinaphex
85d64602ff Move retroarch_get_launch_arguments() function call outside
of frontend driver - should be called by Salamander too which
has no conception of RetroArch launch arguments
2020-02-01 17:42:18 +01:00
jdgleaver
569014c5d2 (Filebrowser) Fix file selection issues when starting from (or navigating to) the top level directory 2019-12-31 12:34:03 +00:00