468 Commits

Author SHA1 Message Date
twinaphex
0f5161d621 Add History List Enable option 2014-10-17 04:17:28 +02:00
Twinaphex
3b3b990796 Add early return to menu_environment_get in case wrap_args
is NULL
2014-10-17 00:28:03 +02:00
Twinaphex
c0b85ba34a Make apply_deferred_settings more robust when it's being called
when exiting
2014-10-17 00:21:02 +02:00
twinaphex
fe1a083580 Revert "Simplify menu_common_type_is"
This reverts commit 395dc79f6c3ebbe7a316664db35d4013daea85b4.
2014-10-16 07:15:35 +02:00
twinaphex
395dc79f6c Simplify menu_common_type_is 2014-10-16 04:25:38 +02:00
twinaphex
426bff2041 Simplify menu_common_type_is 2014-10-15 20:41:51 +02:00
twinaphex
0b8beb8874 Get rid of unnecessary 'change' boolean variable in apply_deferred_settings 2014-10-15 19:45:44 +02:00
twinaphex
1834bad53c Simplify menu_common_type_is 2014-10-15 19:44:01 +02:00
twinaphex
26ceac8bf7 Should fix remaining SRAM issues 2014-10-13 19:40:40 +02:00
twinaphex
503329c9a6 Make menu_entries_push_list static 2014-10-13 02:08:39 +02:00
twinaphex
94110ea997 Add bool pending_push parameter to menu_clear_navigation 2014-10-12 23:44:10 +02:00
twinaphex
0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
twinaphex
528cb1dd60 Move core_setting_toggle to menu_entries_cbs.c as static function 2014-10-12 19:21:19 +02:00
twinaphex
896bff00cc Change menu_common_core_setting_toggle to be bindable to cbs->action_toggle 2014-10-12 19:18:37 +02:00
twinaphex
6bf74b1bd2 (Menu) Fix playlist pushing issue 2014-10-12 02:31:25 +02:00
twinaphex
7105bc3b17 (Menu) Split up pushing to history playlist action as separate function 2014-10-11 16:52:52 +02:00
twinaphex
65bc796011 Make rarch_playlist_push more useful 2014-10-11 16:46:59 +02:00
twinaphex
e215da3754 Minor changes to menu_ticker_line 2014-10-11 05:37:48 +02:00
twinaphex
8e98619ea1 Small changes - pass "Main Menu" to file list instead of "mainmenu" 2014-10-11 05:34:27 +02:00
twinaphex
77f43c78e5 Rename setting_data_get_list to setting_data_new 2014-10-11 04:59:03 +02:00
twinaphex
fba88a14cb Set rarch_settings_t * lists to NULL after setting_list_free calls -
messy manual bookkeeping
2014-10-11 01:36:04 +02:00
twinaphex
6f84dbd710 apply_deferred_settings - nit 2014-10-09 19:21:44 +02:00
Mike Robinson
b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
twinaphex
3ba45d3eae Create init_lists in menu display driver 2014-10-09 01:31:11 +02:00
twinaphex
8cb7620f0c list_mainmenu and list_settings already get initialized by
menu_entries_push_list
2014-10-09 01:04:54 +02:00
twinaphex
e5ab079298 Maintain two rarch_setting_t * lists in driver.menu - one
for main menu and the other for settings menu - regenerate these
when needed
2014-10-09 00:50:35 +02:00
twinaphex
1fe95bdafb Create menu_init_list and menu_free_list 2014-10-09 00:23:39 +02:00
twinaphex
80578199f6 Reduce calls to 'draw_frame' to one 2014-10-08 21:43:19 +02:00
twinaphex
bb7b3a0d70 Add RARCH_CMD_OVERLAY_NEXT 2014-10-08 18:26:46 +02:00
twinaphex
c35d25c76e Add RARCH_CMD_NETPLAY_FLIP_PLAYERS and RARCH_CMD_FULLSCREEN_TOGGLE 2014-10-08 16:41:08 +02:00
twinaphex
7391b7573b (Menu) Remove menu->last_time - unused 2014-10-08 04:44:43 +02:00
twinaphex
0e2ce4d8d3 (Menu) Input Options and Shader Options don't go through settings list
yet, so put them back in menu_common_type_is
2014-10-07 23:09:21 +02:00
twinaphex
7daf5874e1 Dehardcode some code in menu_common_type_is 2014-10-07 22:52:31 +02:00
twinaphex
e0b977215f Rename some macros for bit get/setting 2014-10-05 15:48:06 +02:00
twinaphex
3d68429aca Change menu_iterate return value to int 2014-10-04 16:20:28 +02:00
twinaphex
cf22277871 Only call RARCH_CMD_HISTORY_INIT from menu_load_content - it
already deinits and inits behind the scenes
2014-10-03 13:19:55 +02:00
twinaphex
4a623684c2 Init history file right before we attempt to push something to it
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex
154e7caf17 menu_environment_get - only set libretro core if g_extern.has_set_libretro
is false
2014-10-03 11:27:19 +02:00
twinaphex
4b0bcf39cc Get rid of dead code in menu_iterate 2014-09-30 12:43:06 +02:00
Vladimir Panteleev
d0e970f175 Fix/reimplement input flushing
This fixes:

- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing

Architectural changes:

- menu_ctx_driver_t::input_postprocess now takes state and old_state
  (this allows getting rid of menu_handle_t::trigger_state)

Related changes:

- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
  polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
twinaphex
2e230fe9b4 (menu) draw_frame - cleanups 2014-09-29 14:41:24 +02:00
twinaphex
295e83bfc0 (Menu) Implement pause_libretro functionality 2014-09-29 14:38:37 +02:00
twinaphex
ae6c8fa7fb (Settings data) Create new category 'Menu Options' 2014-09-29 14:19:40 +02:00
twinaphex
449cb9e9ed (Menu) Do away with throttle_frame in menu_iterate - let rarch_main_iterate
do this
2014-09-28 19:11:11 +02:00
twinaphex
828e02cb49 menu_environment_get - implement has_set_save_path/has_set_state_path/
has_set_verbosity
2014-09-26 06:09:36 +02:00
twinaphex
2fe6103a61 Get rid of more unnecessary code now for menu toggle in menu_iterate 2014-09-25 18:40:01 +02:00
twinaphex
2309a3e716 Move input_poll to libretro_version_1.c 2014-09-24 09:52:01 +02:00
twinaphex
9d94513dc4 (Menu/Shaders) Move all shader manager code to frontend/menu/menu_shader 2014-09-24 07:56:47 +02:00
twinaphex
93fbb44402 (Menu) Move menu_common_core_setting_toggle functions to menu_common.c 2014-09-24 06:46:18 +02:00
Twinaphex
6353240af4 Get rid of unused variables 2014-09-21 18:02:23 +02:00