twinaphex
619398bbe4
Backport parts of 73c0760236
2021-11-09 23:12:57 +01:00
Mats
6a59dad08c
Add compile option to make unix use cwd as env ( #12989 )
...
Setting UNIX_CWD_ENV to 1 when compiling with the unix platform will make
the base path for the env the cwd. This is to be able to match the behavior on
Windows.
2021-09-15 21:48:11 +02:00
twinaphex
20ef0667b0
Add initial webOS port courtesy of informatic/webosbrew/mariotaku
2021-08-11 20:04:11 +02:00
jdgleaver
9e100b752e
(RS-90) Move appdata (retroarch) base directory to external microsd card
2021-07-15 16:56:23 +01:00
CTCaer
98be8f0c22
plat: unix: correct backlight max_brightness path
...
We are assuming that device has its backlight device symlinked to /sys/class/backlight/backlight so this should be stated.
Additionally any hardcoding should be disallowed and the symlink should be always used.
2021-06-09 13:16:37 +03:00
CTCaer
86f8670d0b
plat: unix: get better battery stats on sysfs nodes
...
This addresses 2 issues:
1. Input controllers report battery supplies.
That causes wrong charging status or capacities if they report percentages instead of levels.
Such supplies normally report scope attributes that report Unknown or Device type of power supply.
If reported value is System or the attribute is missing, it's considered a System supply and used.
2. Various systems have backup batteries.
That causes the wrong capacity to be reported depending on order of node creation.
This is addressed by keeping track of these and calculating an average.
2021-05-31 18:36:49 +03:00
GavinDarkglider
f24f827c4c
Updates For Lakka Switch build. ( #12369 )
2021-05-07 20:58:30 +02:00
David Guillen Fandos
e1385c0187
Adjust brightness according to the limit
...
Seems like some platforms feature non-standard maximums, but the
variable is correclty exported for us to use
2021-03-20 22:19:28 +01:00
twinaphex
fdfc4dda08
(OpenDingux) Don't build in code that we don't need for Dingux
2021-01-20 09:56:40 +01:00
twinaphex
1ea46ea171
(Unix) Fix build
2021-01-16 16:37:52 +01:00
twinaphex
4c51e31b9d
(Platform) Cleanups + add missing function pointer bind for Darwin
2021-01-16 16:14:03 +01:00
jdgleaver
b5feb2d48b
(.gitlab-ci.yml) Use xenial-gcc9 build container + add missing artefacts
2021-01-05 11:19:05 +00:00
David Guillen Fandos
192d131020
Fix Lakka build in !switch !oga2 platforms
2020-12-03 16:13:22 +01:00
David Guillen Fandos
a442696b71
First attempt at adding proper brightness
...
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
Autechre
54eb22dd2b
Merge pull request #11606 from Scrumplex/feat-run-media
...
Also show /run/media or /run/media/$USER in drives list
2020-11-25 16:04:52 +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
Sefa Eyeoglu
e3dc9a7e1d
feat: also show /run/media or /run/media/$USER in drives list
2020-11-22 14:25:46 +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
jdgleaver
3e52f318d5
AI Service fixes
2020-10-22 15:59:26 +01:00
jdgleaver
2bc705144f
OpenDingux: Update default directory paths
2020-10-08 16:15:46 +01:00
jdgleaver
3bd66cc14d
OpenDingux port improvements: Phase 1
2020-10-01 15:56:14 +01:00
twinaphex
599f338d74
Use strcpy_literal for string literals
2020-09-21 00:36:07 +02:00
jdgleaver
4799d2d955
(Android/Play Store) Add frontend support for core installation via Play Feature Delivery
2020-08-28 16:30:54 +01:00
twinaphex
855351de9e
Reorder g_defaults, alignment
2020-08-16 04:38:02 +02:00
jdgleaver
aefeae4b50
(Linux/Android) Fix reporting of free memory
2020-07-20 16:22:12 +01:00
twinaphex
501f737249
(Android) Split up Android context driver into two - GL and Vulkan
2020-07-17 13:45:37 +02:00
jdgleaver
e44242db93
(Linux) Set default saves/save states/system paths
2020-05-28 12:09:46 +01:00
twinaphex
e64b4c1d24
For gamepad-like console/Android TV devices - default to Ozone
2020-05-20 17:34:39 +02:00
twinaphex
d9ab59cb4a
Comment out function that isn't used
2020-05-20 16:29:57 +02:00
twinaphex
ad1aa59ce1
Cleanup != NULL comparisons
2020-05-19 21:15:06 +02:00
Vladimir Serbinenko
99e9a1ea0d
platform_unix: Fix overflow when computing total memory on i386
2020-04-17 00:54:06 +02:00
twinaphex
8fe2fe7b62
(UNIX) Remove hashing dependency
2020-02-23 04:52:27 +01:00
valadaa48
2dbb13d8dd
Add match on "battery" instead of just "BAT" to appease some unices
...
- required for odroid go advance
2020-02-22 22:16:57 -05:00
twinaphex
09da302b8d
Try to make it more portable for BSD
2020-02-16 19:37:59 +01:00
twinaphex
f0bdb61fd8
gfx_display and gfx_animation no longer tied to HAVE_MENU
2020-02-16 15:51:58 +01: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
Themaister
15ffffa835
Android/Vulkan: Recreate swapchain on orientation change.
...
ANativeWindow getWidth/Height does not detect any changes when using
Vulkan, so use the old onContentRectChanged callback to get notified
when size changed. Use those values instead when figuring out how large
swapchain to create.
Tested trivially on Galaxy S9+ Exynos model.
2019-12-15 16:46:41 +01:00
radius
3f88a49bdc
linux frontend: add proper drives
2019-11-12 19:11:51 +01:00
twinaphex
1da7baa49d
(Android) get_mem_free - different implementation for Android
2019-09-26 20:07:39 +02:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02: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
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
1ced1b3f73
(Platform unix) Updates
2019-09-18 03:37:25 +02:00
twinaphex
c2cad1f122
(platform_unix) Small cleanups
2019-09-17 01:33:54 +02:00
twinaphex
ba40af1dde
(Android) android_app_entry - cleanup
2019-07-20 18:55:23 +02:00
twinaphex
212ff42ae0
(Gradle/Android Studio) Update
...
(Default threaded video setting) Remove
g_defaults.settings.threaded_video - could help Switch and Android
2019-07-10 12:21:18 +02:00
Twinaphex
048980e051
Update platform_unix.c
2019-06-24 05:18:28 +02:00