1294 Commits

Author SHA1 Message Date
Themaister
76a6e61fdd Use core-specific config path for RGUI cgp/glslp if applicable.
Avoids some collisions.
2014-01-03 15:31:10 +01:00
Themaister
81fc0f621a Only call rarch_main_deinit if main has been initied. 2014-01-03 14:42:38 +01:00
Themaister
be81549d92 Only save per-core configs when core specific option is enabled.
Also, need to enforce that g_settings.core_specific_config is true
after loading core specific config. It's possible that core specific
option is set to false before loading a different core (using global
config only).
2014-01-02 18:01:01 +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
Toad King
0a91c528f9 core-specific config files 2014-01-01 14:44:20 -05:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
0e54989a61 (XDK1) RMenu build fix 2013-12-31 20:50:24 +01:00
Themaister
0d3428ad15 Add texture_image_free().
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Toad King
defb6efc5a [EMSCRIPTEN] build fix 2013-12-29 16:19:15 -05: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
twinaphex
fb41b96515 (360) Get to linkable state again 2013-12-29 06:06:23 +01:00
twinaphex
c23b42013e (360) Remove set_root_and_ext function calls 2013-12-29 05:06:45 +01:00
twinaphex
18545b5730 (360) Move rmenu_xui.cpp to menu/disp/ 2013-12-29 04:26:34 +01:00
twinaphex
989106428e (360) Build fixes to rmenu_xui.cpp 2013-12-29 04:22:53 +01:00
twinaphex
030012f664 (360) Some build fixes 2013-12-29 04:08:42 +01:00
twinaphex
ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex
9d0c5a5a03 (frontend.c) Some cleanups 2013-12-28 04:40:40 +01:00
twinaphex
51c994da39 (Xbox 1) Render 'messagebox' text in menu disp now - position
text better
2013-12-27 02:00:57 +01:00
meancoot
55950cf009 (Apple) Update content history properly. 2013-12-26 16:18:28 -05:00
twinaphex
75a6db27b4 (GX/PS3) Reimplement menu binds 2013-12-26 20:11:33 +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
Toad King
3fd4f21c9a fix check for salamander file in core menu 2013-12-24 22:28:24 -05: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
meancoot
839a5529b8 Merge branch 'master' into apple_no_thread 2013-12-23 21:03:14 -05:00
Toad King
2f46fa4fe9 [GX] input changes work now 2013-12-22 21:07:37 -05: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
meancoot
f3d5a44e76 (Apple - No Thread) Fix performance regression. 2013-12-21 21:58:19 -05:00
twinaphex
129b7093a3 Set default overlay opacity to 0.7f 2013-12-22 03:03:26 +01:00
meancoot
f069c82417 (Apple) First pass at removing UI/RetroArch thread split. 2013-12-21 19:42:10 -05:00
twinaphex
742f85eafc Add HAVE_LOCATION - still need to write frontend drivers now for
location
2013-12-19 01:51:51 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
166aa29443 (Libretro) Expose perf_log as callback too to libretro 2013-12-17 19:37:33 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Toad King
f291e9c353 make config directory require dynamic libraries for now. fixes issue #420
the way we implement chaning directories involves loading a dummy core, which we can't do on non-dynamic core platforms right now
2013-12-16 15:05:57 -05:00
meancoot
b35153855c (iOS) Add option to clear Load History menu, useful when you need to invalidate history after the GUID of the install directory gets changed. 2013-12-15 21:27:17 -05:00
twinaphex
b946a5e302 (Menu) Omit "Threaded Video" for Gamecube/Wii 2013-12-14 02:33:09 +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
21ae4c24af (Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
and Nunchuk
2013-12-12 20:50:42 +01:00
Twinaphex
14a6c01a14 Merge pull request #410 from libretro/rgui-search
Add experimental RGUI keyboard search feature.
2013-12-10 14:22:17 -08:00
meancoot
693a826f2f (OSX) Fix frontend/frontend.c so passed arguments are accepted. 2013-12-10 16:41:23 -05:00
Themaister
fde4532a33 Fix menu_search_callback.
str can be empty and non-NULL.
2013-12-10 19:46:50 +01:00
Themaister
977cec1378 Refactor keyboard event callbacks.
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister
84c93ef94a Add experimental RGUI keyboard search feature.
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
meancoot
8882d07f3f (iOS) Move iOS settings code into iOS specific file and fix the issue where every compile unit would get its own copy of apple_frontend_settings 2013-12-03 19:47:24 -05:00
meancoot
6943127aef (Apple) Start to refactor setting data structure; clean up iOS code some 2013-12-02 19:34:05 -05:00
twinaphex
3d18d580b6 (iOS) Add frontend/platform/platform_ios.h 2013-11-29 19:32:07 +01:00