Commit Graph

107 Commits

Author SHA1 Message Date
libretroadmin
7ebab640d7 Cleanups/style nits 2023-02-23 13:15:14 +01: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
OsirizX
c6d51fdb32 [ORBIS] Initial changes for PS4 2022-05-21 16:31:10 +02:00
Francisco Javier Trujillo Mata
3a67162ae2
Fix PS2 raboot name (#13543) 2022-01-25 04:19:18 +01:00
jdgleaver
688c652673
[GameMode] Improve error handling (#13362) 2021-12-15 19:01:39 +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
4b16b4fe9a Change this to gblues' implementation and leave a TODO/FIXME 2021-11-01 21:17:39 +01:00
twinaphex
c88577850d (frontend_driver.c) Try to make the code more safe if the pointer
is NULL
2021-11-01 19:34:54 +01:00
Autechre
49e99266f8
Move frontend code to frontend_driver.c (#13170) 2021-10-29 19:43:37 +02:00
unknown
49eab75938 Add some PSL1GHT ifdefs 2021-03-06 17:35:31 +01:00
twinaphex
b1af12efc9 Add more PSL1GHT ifdefs 2020-12-27 18:56:00 +01:00
twinaphex
870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +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
1296fc4745 use strlcpy_literal for string literal copies 2020-09-19 23:28:01 +02:00
jdgleaver
a39d6240a6 (Salamander/static builds) Move 'libretro_path' value from 'retroarch.cfg' to independent config file 2020-09-05 13:23:20 +01:00
twinaphex
ae86cbaa3d Move non-Salamander code in frontend_driver.c outside to retroarch.c 2020-07-08 01:39:58 +02:00
twinaphex
56619d7276 Add more TODO/FIXME notes 2020-05-29 06:31:15 +02:00
Vladimir Serbinenko
70c57beea9 Support for dos salamander 2020-05-12 17:39:04 +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
twinaphex
4d36f0d356 Remove rarch_get_cpu_architecture_string - don't have two
functions that do more or less the same thing
2020-01-27 22:51:20 +01:00
twinaphex
e8bc606c20 Move netplay_get_architecture to frontend_driver.c 2020-01-27 16:39:36 +01:00
twinaphex
e786059506 frontend_ctx_null - add missing function pointer 2020-01-15 09:11:17 +01:00
twinaphex
56236f7372 Get rid of platform_null.c file 2020-01-06 15:35:35 +01:00
twinaphex
ed29c6f59c Start going for consistent memory representation - instead of
'memory used' needs to become 'memory free'
2019-09-22 03:57:59 +02: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
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
Twinaphex
40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
twinaphex
42d5c0037e Create separate platform_uwp.c 2019-01-03 13:55:43 +01:00
Francisco José García García
43b8763fd4 [ORBIS] Enable frontend driver 2018-12-31 14:16:42 +01:00
Francisco Javier Trujillo Mata
8a0266cf8d PS2 Input looks to be ready 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata
0880bd00b0 PS2 is compiling with null drivers 2018-11-09 22:40:50 +01:00
misson20000
7072bbb829 [NSW] SDK compat fixups 2018-09-15 03:27:29 -07:00
M4xw
0ff014c1ac [LIBNX] Add Core extension 2018-09-15 02:29:40 +02:00
M4xw
64edf5f879 [LIBNX] Fixups and bare minimum to function 2018-09-14 20:38:42 +02:00
Brad Parker
aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04:00
meepingsnesroms
8617690499 Fix tab where spaces should be 2018-05-16 10:41:25 -07:00
meepingsnesroms
5f234f0dd1 Start using proper 3ds executable formats (doesnt work properly yet) 2018-05-09 15:55:48 -07: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
f087419165 Rename platform_linux.c to platform_unix.c 2017-06-19 17:38:49 +02:00
twinaphex
e2a6a7ad17 Add 'load_content' parameter to parse_drive_list 2017-05-26 15:52:38 +02:00
twinaphex
9dff2434ef Fix some structurally dead code warnings 2017-05-09 20:54:03 +02:00
aliaspider
d40541c340 (WiiU) provide salamander's basename in
frontend_driver_get_salamander_basename.
2017-01-26 15:07:11 +01:00
aliaspider
8f88d8fb4d (WiiU) implement the missing requirement for core loading: exec,
exitspawn, set_fork and salamander.
2017-01-25 19:52:31 +01:00
Brad Parker
57949227df DOS: initial input/joypad driver 2017-01-24 00:55:58 -05:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
aliaspider
afdaf9afbd (WIIU) display core frames. 2016-10-27 23:02:40 +01:00
aliaspider
094b725ad6 (WIIU) disable mem2/frontend driver 2016-10-27 15:49:21 +01:00
aliaspider
185849d5ff (WIIU) add frontend driver, allocate mem2 2016-10-27 15:33:40 +01:00