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
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
twinaphex
ec57160709
(XB) Fix Salamander
2020-08-02 09:35:34 +02:00
twinaphex
602ea99c96
Fix 360 Salamander
2020-08-02 09:33:32 +02:00
twinaphex
2d274f1369
Move accessibility features to platform frontend driver
2020-02-14 00:17:55 +01:00
twinaphex
0fd00ca82f
Cleanup
2020-02-10 15:24:14 +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
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
6fc6bfbb24
(XDK1) Set default assets dir too
2018-02-19 13:43:32 +01:00
twinaphex
6c02dfd84c
(XDK1) Setup some default dirs
2018-02-19 13:29:16 +01:00
twinaphex
56cbaefd05
Change this back
2018-02-18 02:12:15 +01:00
twinaphex
c0f79d2032
Update
2018-02-18 02:11:41 +01:00
twinaphex
e01416a0da
Split up code to platform_xdk.h
2018-02-05 01:33:54 +01:00
twinaphex
fc0ea0c63f
Cut down unnecessary _XBOX ifdefs
2018-01-26 15:15:03 +01: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
6c5d303a07
(Xbox OG) Fix Salamander build
2018-01-03 14:31:41 +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
be5d3cb0ba
Convert platform_xdk.cpp to C
2017-10-03 04:36:43 +02:00
twinaphex
7ad32fc8aa
(XDK) Move files around
2015-09-20 15:39:59 +02:00
twinaphex
842c580028
Stub commit
2015-09-15 21:53:14 +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
413230d77d
(Frontend) Cleanups
2015-06-12 23:38:46 +02:00
twinaphex
0cfeff8e1e
Cleanups
2015-06-02 18:28:51 +02:00
twinaphex
a4812c955f
Get rid of 'Gets here' messages
2015-06-01 17:06:28 +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
e6f0d366cb
Go through global_get_ptr
2015-03-21 04:43:18 +01:00
twinaphex
46402deb04
Use PATH_MAX_LENGTH instead of PATH_MAX.
...
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex
ca67f9c317
Rename frontend/platform/ to frontend/drivers/
2015-01-12 21:47:01 +01:00