175 Commits

Author SHA1 Message Date
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
Francisco Javier Trujillo Mata
e553e19996
Call pthread_terminate is if it is NO SALAMANDER 2019-11-23 12:54:45 +01:00
Francisco Javier Trujillo Mata
5a5640155a Call to the terminate function for the pthread on the deinit of the PSP platform 2019-11-21 19:13:33 +01:00
Rinnegatamante
a30f7dc79f [VITA/PSP] Fix logging to file not working. 2019-11-12 19:46:37 +01:00
Francisco Javier Trujillo Mata
c2c3ed6a76 Make logs works again for PSP 2019-10-16 00:46:14 +02:00
Rinnegatamante
6a5af218c7 [VITA] Implement get_mem_total/free for the frontend. 2019-10-04 12:12:14 +02:00
Rinnegatamante
fffc7597fd [VITA] Add system language detection. 2019-10-01 19:55:43 +02:00
Huw Pascoe
685aabb094 video_layout config 2019-05-11 09:58:46 +01:00
Brad Parker
aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
jdgleaver
2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
Brad Parker
e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
Joel16
b606572bce Set max bus & gpu clock rates 2018-08-02 12:19:16 -05:00
kurumushi
bbe1dcd48f
Add imc0: mount for ps vita
This allows using the internal storage of the ps vita 2000 model when it's mounted on imc0: instead of ux0:
2018-07-23 23:11:54 +09:00
Brad Parker
aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04:00
Brad Parker
f087b150c9 Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now) 2018-01-25 15:50:57 -05:00
twinaphex
08d9ee9600 (PSP) Add thread support 2017-12-26 09:45:45 +01:00
Francisco José García García
b975cb43a7
Change platform driver for vita 2017-11-14 19:49:50 +01:00