3227 Commits

Author SHA1 Message Date
David Guillen Fandos
ed7b3aa415 Add a proper WiFi menu, with Enable/Disable & Disconnect options
This also allows WiFi passwords to be remembered. The underlying
tool (connman) allows to store passswords (that's why it auto connects
whenever you boot a Lakka device), so we expose this so that the user
does not have to re-input the pass when connecting to a saved wifi.

Option to forget a password to come in a future PR, for now a password
is automatically forgotten if the Wifi connect operation fails (we assume
it fails due to password).

Changes the WiFi API to enable these features of course!
2020-12-09 20:20:48 +01:00
David Guillen Fandos
091f6e6354 Improving Wifi API and connman implementation
This sets the ground for more PRs to come. Clean up how scanning and listing
SSID works, and adds attributes to the newtworks.
Frontend will be able to know which networks are "remembered" and thus
require no password to re-connect.

For now scans are performed every 2 minutes or on demand if no networks found
(either for real or in the "cache").
2020-12-04 02:18:03 +01:00
Jamiras
76074a76fe fix discord rich presence 2020-12-03 09:42:40 -07:00
David Guillen Fandos
a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
Autechre
1cbc26ac9e
Merge pull request #11614 from HyperspaceMadness/Shader_Multi-Level_Referenced_Presets
Shader_Multi-Level_Referenced_Presets
2020-11-25 15:47:31 +01:00
jdgleaver
8d8ccf45db Prevent 'Rewind Frames' from being set to '1' incorrectly on load content 2020-11-23 14:01:18 +00:00
HyperspaceMadness
abb2d06ce9 Shader_Multi-Level_Referenced_Presets 2020-11-22 19:10:08 -05:00
David Guillen Fandos
1c5099051c Adding savestate garbage collector for autoincrement stavestates
As some issues indicate (#6195 #10471 #11008 #6861) there's an issue with
the autoincrement save slot feature: slot index will increase and very old
saves won't be deleted.

This commit adds support to delete old save states with a user defined
save state limit (global). Instead of wrapping around the slot counter
it will simply delete the oldest save, since it is simpler.

For now there's a limit of one deletion per save, which ensures a user
cannot delete many saves by accident if they set the limit too low.
2020-11-22 13:26:23 +01:00
Autechre
8921d31247
Merge pull request #11595 from libretro/dir_check_defaults_only_once
Only attempt to call dir_check_defaults once per runtime session
2020-11-20 04:32:31 +01:00
twinaphex
3ac75c043e Jdgleaver improvements 2020-11-20 03:55:55 +01:00
Autechre
380e878c66
Merge pull request #11552 from sonninnos/turbo-single-hold
Add hold mode for turbo fire 'Single Button'
2020-11-19 07:21:03 +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
02607e6c34 Simplify dir_check_defaults 2020-11-19 05:38:04 +01:00
twinaphex
c8f92d2247 Revert "(UWP/Small stack size platforms) UWP is short on stack size, these"
This reverts commit 0a3306a7b44797b60b44552e0a678429c7b98a0e.
2020-11-18 16:48:31 +01:00
Autechre
973c707462
Merge pull request #11585 from Jamiras/cheevos_no_core_support
(cheevos) show unsupported core message when viewing achievement list for unsupported core
2020-11-18 00:57:47 +01:00
twinaphex
0a3306a7b4 (UWP/Small stack size platforms) UWP is short on stack size, these
big local char array variables were causing crashes - put them on
heap
2020-11-17 07:17:32 +01:00
Jamiras
8ed0fcb5ce show unsupported core message when viewing achievement list for unsupported core 2020-11-16 21:38:02 -07:00
twinaphex
eb41efa9dd Move more global state code to retroarch_data.h 2020-11-17 01:47:47 +01:00
twinaphex
b9b1639759 Cleanups - split up global state to retroarch_data.h 2020-11-17 01:34:20 +01:00
twinaphex
8937794d8a Create separate header file for forward declarations in retroarch.c 2020-11-16 23:59:03 +01:00
twinaphex
451a49f6a1 Create video_driver_restore_cached 2020-11-16 23:49:13 +01:00
twinaphex
c9997ce520 Cleanup video_driver_find_driver some more 2020-11-16 23:46:08 +01:00
twinaphex
988515d76d video_driver_find_driver - cleanup 2020-11-16 23:27:17 +01:00
twinaphex
b6d88b749b Cleanup bsv_movie_init - use return value 2020-11-16 22:37:04 +01:00
twinaphex
a8c7a4fcff Simplify video_driver_find_driver 2020-11-16 22:25:09 +01:00
twinaphex
274d01d0e8 Fix bug in hw_render_context_name 2020-11-16 21:43:01 +01:00
twinaphex
4a2183ee41 (GET_PREFERRED_HW_RENDER) Set callback_type even when it returns false
because video driver switching is disabled, fixes PCSX2 D3D11 issues
2020-11-16 21:38:20 +01:00
twinaphex
58efde6c2e Add more logging for GET_PREFERRED_HW_RENDER and SET_HW_RENDER 2020-11-16 21:04:55 +01:00
Tony Jansson
278ddc64ed Add hold mode for turbo fire 'Single Button' 2020-11-13 15:44:32 +02:00
Autechre
f502abf166
Merge pull request #11550 from sonninnos/turbomode-fix
Refresh turbo button selection in 'Single Button'
2020-11-12 01:51:31 +01:00
Autechre
a80b40fb8a
Merge pull request #11354 from HyperspaceMadness/Shader_Save_Load
Shader save load
2020-11-11 15:46:42 +01:00
Tony Jansson
e5c6032d37 Refresh turbo button selection in 'Single Mode' 2020-11-11 15:08:09 +02:00
twinaphex
c3bbc763ff (MSVC) Buildfixes 2020-11-11 00:59:00 +01:00
HyperspaceMadness
5008ac6eb0
Merge branch 'master' into Shader_Save_Load 2020-11-10 17:05:23 -05:00
Tony Jansson
c3f3ac3dc1 Keyboard remapping fix 2020-11-09 15:22:41 +02:00
Ryunam
f3aaf24219 Add Run-Ahead Toggle hotkey with notifications 2020-11-06 21:39:11 +01:00
Autechre
f37d38bcd4
Merge pull request #11181 from dankcushions/gles31_32
GLES 3.1 and 3.2 build parameters, and corresponding context checks.
2020-11-04 04:58:24 +01:00
HyperspaceMadness
70bf90c5d8 Shader_Preset_Simple_Save_Cleaned_2020_11_01 2020-11-01 09:18:40 -05:00
Tony Jansson
58cb0286a8 Mouse grab fixes 2020-10-27 04:59:14 +02:00
barbudreadmon
1de6fc479e allow glcore for every cores using gl 2020-10-26 13:08:43 +01:00
Bernhard Schelling
c20b01e9e1 Replace custom JSON parser/writer in translation service with rjson 2020-10-25 21:43:30 +09:00
twinaphex
e4ee73bfdf Add HAVE_CHEEVOS ifdefs 2020-10-23 04:44:33 +02:00
Autechre
6b3789513f
Merge pull request #11476 from Jamiras/cheevos_core_options_blacklist
(cheevos) core options blacklist
2020-10-23 02:43:05 +02:00
jdgleaver
3e52f318d5 AI Service fixes 2020-10-22 15:59:26 +01:00
Tony Jansson
f98fc6de9e Mouse grab improvements 2020-10-22 00:49:31 +03:00
Tony Jansson
2dd03cc0d2 DISABLE_MENU fix 2020-10-21 23:34:32 +03:00
Autechre
179bc894ec
Merge pull request #11464 from sonninnos/cli-closing
Add option for quitting on close content
2020-10-20 21:53:40 +02:00
Tony Jansson
041b6811f4 Minor command_event nitpicks 2020-10-20 22:02:18 +03:00
Tony Jansson
46d516f066 Add option for quitting on close content 2020-10-20 21:45:03 +03:00
Jamiras
f58130bb64 disable achievement hardcore mode when certain core options are enabled 2020-10-20 10:37:05 -06:00