86 Commits

Author SHA1 Message Date
Themaister
f57a1aa032 Add support for mapping analogs to D-pad again.
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.

Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
Themaister
13a006d147 Restructure per-core configs.
Merging yesterday was probably a bit premature.

One issue I overlooked was that per-core configs were not flushed to disk
when loading a new core on PC. The per-core flushing only happened on
main_exit(), which is only run on application termination. This hence
would only work with consoles with exitspawn.

config_set_defaults() must be called when loading per-core-specifics as
well or lots of options silently leak into other core specific configs
when cores are changed.

The handling with g_extern.config_path and original_config_path was
difficult logic and very error prone considering it was mutated aribitrarily by RGUI.
I've removed the original config path concept and stuck
with that config_path is *only* for global config, and
core_specific_config_path is for core-specifics (which are resolved
during config load). Saves some memory too,
which is always nice.

The block_config_read solution I proposed yesterday was not good after
all (in fact, broken on PC), and the current solution should work better.

"RetroArch Config" option in RGUI now only shows global config.
2014-01-02 17:52:48 +01:00
Toad King
e0671aba8b per-core minor fixes 2014-01-01 19:06:06 -05:00
Toad King
e022b39061 fix per-core config on PC 2014-01-01 15:34:56 -05:00
Toad King
8f45063f74 menu support for core specific config 2014-01-01 15:02:57 -05:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
2be201ecf3 Add volume option.
There's a rudimentary volume option for XBOX1 there though ...
Dunno what to do about that.
2013-12-29 12:01:23 +01:00
Themaister
b23ff3b663 Refactor content_directory.
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
twinaphex
204113e389 Add environ callback to expose 'Content Directory' path to core -
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
Toad King
d7cacaa9ed start of porting wii input driver to better support RGUI. still has issues with axises 2013-12-22 19:47:33 -05:00
twinaphex
129b7093a3 Set default overlay opacity to 0.7f 2013-12-22 03:03:26 +01:00
twinaphex
742f85eafc Add HAVE_LOCATION - still need to write frontend drivers now for
location
2013-12-19 01:51:51 +01:00
twinaphex
ee18da7632 Save autodetect_enable 2013-12-12 22:14:10 +01:00
twinaphex
eacc193d74 (GX) Rewrite audio interleaving
(GX) Make menu_binds variable Wii-only for now
(Menu) Add toggleable autodetect_enable for input
2013-12-12 22:10:11 +01:00
twinaphex
723fddea80 (PS3/menu_common) Add System BGM Control setting 2013-11-18 19:50:47 +01:00
twinaphex
58d8079704 (Menu) Check if driver.video->restart is bound first 2013-11-18 03:25:50 +01:00
twinaphex
2fab149ae4 (RMenu Disp) Correctly frees and reinitializes RMenu texture asset 2013-11-18 03:23:32 +01:00
twinaphex
275789d99f (HAVE_OSK/Xbox 1/PS3) Add Xbox 1/PS3/HAVE_OSK-specific additions
to settings
2013-11-18 02:57:31 +01:00
twinaphex
6828183b64 (OSK) Move runtime state (OSK callbacks) to g_extern 2013-11-16 15:54:50 +01:00
twinaphex
9558a47ada (PS3 RGUI) Working OSK input 2013-11-15 23:19:44 +01:00
twinaphex
be356b7b67 (Menu) Add extra settings 2013-11-15 22:53:58 +01:00
twinaphex
6a9bc1bfa4 (Menu) Show camera driver inside 'Drivers' category 2013-11-11 15:39:46 +01:00
twinaphex
672594d7d3 (menu_settings.c) Fix config.def.h include 2013-11-11 12:59:16 +01:00
twinaphex
82f548a969 Refactor out settings_set 2013-11-11 12:56:38 +01:00
twinaphex
54d2e2d321 (Xbox 1) Build fixes 2013-11-11 03:36:30 +01:00
twinaphex
588224aaed (Menu) Use void* for arguments instead of passing by rgui_handle_t* 2013-11-08 15:38:18 +01:00
twinaphex
a4d5c3c99c (Menu) Add init_assets/free_assets to menu_context 2013-11-08 15:13:14 +01:00
twinaphex
a71314bded (file_list) Rename rgui_list to file_list - also replace function names 2013-11-08 04:48:31 +01:00
twinaphex
4ab64bcd8f (Menu) Rename some more functions with prefix rgui_ 2013-11-08 04:43:42 +01:00
twinaphex
9d4d6fe23d (Menu) Refactor menu code - change namespace of functions
(PS3 Menu) Add PAL60 mode
2013-11-08 03:37:06 +01:00
ToadKing
469671af57 make autosave timeout value more descriptive 2013-11-07 21:02:59 -05:00
ToadKing
1ca96ccd82 fix autosave timeout in RGUI 2013-11-07 20:49:33 -05:00
twinaphex
da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex
c567bec9bc (RGUI) Add need_refresh for increasing/decreasing shader passes 2013-11-07 03:33:34 +01:00
twinaphex
87ffd4eb06 (PS3 RMenu) Fix PS3 build 2013-11-04 20:33:49 +01:00
twinaphex
767cf1e47b (RGUI) Move toggle_settings code to menu_settings.c 2013-11-04 13:46:24 +01:00
twinaphex
0612ec702c (RGUI) menu_set_settings_populate_entries moved to menu_common.c and
renamed menu_populate_entries
2013-11-04 12:32:43 +01:00
twinaphex
df5c9b6878 (RGUI) Host menu_type_is out of rgui.c and into menu_settings.c 2013-11-04 03:09:36 +01:00
twinaphex
5da1ffd24a (RGUI) Combine rgui populate_entries functions into one function and
move it outside rgui.c to menu_settings.c
2013-11-04 01:49:25 +01:00
twinaphex
a35eb793f7 (menu_settings) Fixup last w assignment - thanks to Lioncash for pointing out 2013-11-03 06:26:41 +01:00
twinaphex
d6ad586114 (PS3) We don't use texrefs for font texture 2013-11-02 23:20:20 +01:00
twinaphex
e9243a5ab4 (GX) Move remainder of video initing code to gx_init 2013-11-01 18:12:06 +01:00
twinaphex
aab3f93f56 Fix driver next/previous switching 2013-10-30 17:50:43 +01:00
twinaphex
b2d1fe66b3 (RGUI) Can now change drivers from RGUI - you need to restart
for changes to take effect
2013-10-30 17:06:50 +01:00
twinaphex
7c39118f91 (RGUI) Rename 'Info Options' to 'Driver Options' 2013-10-30 16:05:59 +01:00
twinaphex
7e833618a6 (RGUI) Add Info page - will eventually be possible to switch
drivers with this
2013-10-30 15:36:37 +01:00
Themaister
fbd2747122 Fixup debug FPS bug. 2013-10-22 21:49:39 +02:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister
c16217d42f Add fallbacks to where cgp/glslp's are saved.
If shaders are stored in /usr/shader or similar we need fallback
locations.
2013-10-18 09:21:04 +02:00
Themaister
48602cbdbb Refactor out to menu_init_core_info. 2013-10-11 09:17:32 +02:00