48 Commits

Author SHA1 Message Date
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
b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +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
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
4c51e31b9d (Platform) Cleanups + add missing function pointer bind for Darwin 2021-01-16 16:14:03 +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
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
Vladimir Serbinenko
5a2e4237c4 Fix qnx compilation 2020-04-01 16:49:44 +02:00
twinaphex
2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01: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
Brad Parker
aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04:00
twinaphex
7b1ad55b20 Try to use snprintf instead of sprintf 2018-04-25 11:31:50 +02: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
c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
1421d1da30 Use path_mkdir 2017-05-23 20:45:14 +02:00
twinaphex
ccba9635b6 Update the way default directories are handled 2017-05-23 19:43:58 +02:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Josh Palmer
ef205447df QNX-specific default directory and file permission handling 2017-01-09 20:26:09 +00:00
twinaphex
2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00
twinaphex
e9dc729503 Create set_signal_handler_state 2016-07-08 12:48:01 +02:00
twinaphex
05467443a2 Add destroy_signal_handler_state 2016-07-08 02:24:56 +02:00
twinaphex
a735114780 Add get_signal_handler_state 2016-07-08 02:20:42 +02:00
twinaphex
6cdc34e891 Add install_signal_handler callback 2016-07-08 02:10:40 +02:00
twinaphex
35b078857d Create file_path_str.c 2016-06-20 05:20:14 +02:00
twinaphex
9a25826ae9 Create get_mem_free callback 2016-06-12 12:44:28 +02:00
twinaphex
f0e05ecbc8 Start adding get_total_mem callback 2016-06-12 02:33:07 +02:00
twinaphex
0c686e15db (QNX) Enable logging by default 2016-05-31 05:06:24 +02:00
twinaphex
2e14d0979b Header include cleanups 2016-03-22 03:13:33 +01:00
twinaphex
f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
61a67f0938 Cleanups 2015-10-31 21:41:31 +01:00
twinaphex
e0c7d0905d Header cleanups 2015-09-15 04:49:10 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
cdef82b185 Make late binding possible for frontend drivers
(PS3) Fix shutdown/quit hang - now we have to fix exitspawn instead
2015-07-27 03:44:28 +02:00
twinaphex
a2c8f89137 Create frontend->parse_drive_list 2015-06-15 22:45:02 +02:00
twinaphex
a2195e8cdf Create frontend get_architecture function callback 2015-04-18 20:03:59 +02:00
twinaphex
b721389234 Create 'get_powerstate' function for frontend driver 2015-04-18 13:56:40 +02:00
twinaphex
a707c24232 Add 'get_os' function pointer to frontend driver 2015-04-07 22:49:00 +02:00
twinaphex
ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00