Commit Graph

3205 Commits

Author SHA1 Message Date
twinaphex 4d189d38c9 Reimplement deferred push for category 2014-10-15 22:04:02 +02:00
twinaphex 9f314ef50d Reimplement shader parameter deferred push callbacks 2014-10-15 22:01:15 +02:00
twinaphex 8174fdfb9a Reimplement deferred_push_disk_options 2014-10-15 21:54:51 +02:00
twinaphex 1d31ffe3e3 Reimplement deferred_push_input_options 2014-10-15 21:52:02 +02:00
twinaphex 0fd812049c Reimplement deferred_push_settings 2014-10-15 21:38:30 +02:00
twinaphex ac8093ecbf Reimplement deferred_push_performance_counters 2014-10-15 21:34:48 +02:00
twinaphex 280730638d Cleanup push_list 2014-10-15 21:30:20 +02:00
twinaphex ed7bda43ca Reimplement core_information deferred push 2014-10-15 21:29:06 +02:00
twinaphex b3b56fd995 Reimplement deferred core list push 2014-10-15 21:18:27 +02:00
twinaphex 8aff0fc34a Reimplement deferred push for core_counters and frontend_counters 2014-10-15 21:11:43 +02:00
twinaphex fad3cbdb50 Remove menu_parse_check 2014-10-15 21:04:21 +02:00
twinaphex a7c49cc3dc Move core options to deferred push callback 2014-10-15 20:52:02 +02:00
twinaphex 110d802319 (Menu) Move disk_options to deferred push callback 2014-10-15 20:50:20 +02:00
twinaphex 1f5276ee62 Start getting rid of menu_parse_check 2014-10-15 20:47:43 +02:00
twinaphex 426bff2041 Simplify menu_common_type_is 2014-10-15 20:41:51 +02:00
twinaphex b443a032f6 Reimplement menu_parse_checkx 2014-10-15 20:39:11 +02:00
twinaphex eb347b0d4e Reimplement deferred core list push list 2014-10-15 20:13:21 +02:00
twinaphex 6b12a9fed2 Turn if conditional into else if for history_list deferred push 2014-10-15 19:53:00 +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 fbeb79504a Move history_list to deferred push callback too 2014-10-15 08:22:28 +02:00
twinaphex 53804dfa16 (Menu) Implement deferred push callback 2014-10-15 08:04:10 +02:00
twinaphex 78c136b218 Start setting the stage for deferred push callback 2014-10-15 07:40:19 +02:00
twinaphex 28b5826cde Return setting->action_toggle 2014-10-15 06:47:43 +02:00
twinaphex 459e4fa0d2 Move more settings callbacks over to settings_data.c 2014-10-15 06:46:00 +02:00
twinaphex 368e3455f9 Make menu_action_setting_driver a static function 2014-10-15 06:01:36 +02:00
twinaphex 5636414e31 Refactor Lakka action code 2014-10-15 05:57:15 +02:00
twinaphex bb3caf7005 Get rid of static inline function 2014-10-15 05:51:00 +02:00
twinaphex c0113bef6a Cleanups to menu_action_handle_settings 2014-10-15 03:34:20 +02:00
Twinaphex 6ffd0d2ea7 platform_apple.c - Fix warnings 2014-10-15 03:14:57 +02:00
Twinaphex ff72ddebdd menu_entries.c - cleanups 2014-10-15 03:12:19 +02:00
twinaphex 2210932e90 Turn menu_action_setting_apply into static function 2014-10-15 03:06:44 +02:00
twinaphex 23b69085d3 Move code over to menu_entries_cbs.c 2014-10-15 03:05:21 +02:00
twinaphex d7a216e889 Get rid of fallback action in menu_action_setting_set 2014-10-15 03:02:43 +02:00
twinaphex 2c15e652f9 Move more shader setting code to menu_entries_cbs.c 2014-10-15 02:34:43 +02:00
twinaphex df922034aa Move shader parameter setting toggle code to menu_entries_cbs.c 2014-10-15 02:07:30 +02:00
twinaphex ea8808a63e Cleanup 2014-10-15 01:58:55 +02:00
twinaphex 5eed703d64 Cleanups 2014-10-15 01:23:13 +02:00
twinaphex aa4cc4f4a2 Move menu_entries_set_current_path_selection to menu_entries.c
and make it static
2014-10-15 01:14:35 +02:00
twinaphex 0ab30f4409 Turn menu_action_handle_setting into a static function 2014-10-15 01:04:37 +02:00
twinaphex 9ade7b5245 Add action OK fraction callbacks 2014-10-15 00:56:20 +02:00
twinaphex 88aa5e62e3 Implement action OK for ST_UINT settings 2014-10-15 00:47:38 +02:00
Jean-André Santoni d724d59d60 (XMB) Folder, file and archive icons 2014-10-14 23:05:53 +02:00
Twinaphex c06a549bfe (XMB/Lakka) Silence some warnings 2014-10-14 22:37:01 +02:00
Twinaphex ffb9047961 menu_action.c - Fix 'declaration shadows global variable' 2014-10-14 22:11:44 +02:00
twinaphex b16ce98e34 menu_action.c - cleanups 2014-10-14 22:10:18 +02:00
twinaphex 5506674c69 settings_list.c - Add action OK callback 2014-10-14 22:02:42 +02:00
Twinaphex 97567a5c9a (lakka.c) Silence some warnings 2014-10-14 19:43:29 +02:00
twinaphex 24ac566fbb menu_entries_cbs.c was not including menu_entries_cbs.h header 2014-10-14 19:40:52 +02:00
Twinaphex b38c5c6cab Get rid of some 'no previous prototype for function' warnings in lakka.c and rgui.c 2014-10-14 18:54:59 +02:00
twinaphex 8e0e93d844 (menu_shader.c) Build fix 2014-10-14 18:53:41 +02:00
Twinaphex 16a9cb338d (menu_action.c) Fix 'declaration shadows a global variable' warning 2014-10-14 18:48:35 +02:00
Twinaphex 4ff31b9357 (menu_shader.c) Fix 'declaration(s) shadows variables in local/global scope' warnings 2014-10-14 18:46:40 +02:00
Twinaphex 40f97cde13 (gl_common.c) Fix declaration shadows a variable in global scope warning 2014-10-14 18:30:22 +02:00
Lioncash 4bd2c6b786 rgui: Fix potential memory leak 2014-10-14 00:31:55 -04:00
Twinaphex b940ca9b79 (RGUI) Get rid of unused variable 2014-10-13 23:52:59 +02:00
Lioncash c5512dbd5b xmb: Fix a potential memleak 2014-10-13 17:30:39 -04:00
Lioncash 14189c08a2 frontend: Fix possible memory leaks in lakka, rgui, and rmenu 2014-10-13 16:58:53 -04:00
Twinaphex c7733f705b Merge pull request #1141 from lioncash/menu
menu_animation: Fix a guard against realloc
2014-10-13 20:41:03 +02:00
twinaphex 26ceac8bf7 Should fix remaining SRAM issues 2014-10-13 19:40:40 +02:00
Lioncash 73b9452a16 menu_animation: Fix a guard against realloc 2014-10-13 13:31:52 -04:00
Mike Robinson a94bf32f89 Apply deferred settings before freeing settings list
Deferred settings were getting lost on exiting the settings menu.
2014-10-13 04:30:12 +01:00
twinaphex 750ac33b8d Add 'Cycle Tray Status' option 2014-10-13 05:30:14 +02:00
Twinaphex 2df870f7d0 (menu_settings_iterate) clean up unused variable 2014-10-13 05:02:42 +02:00
twinaphex 54d6a73b72 disp_set_label = set type_str to '\0' by default 2014-10-13 04:33:48 +02:00
twinaphex c46242f637 (RGUI and friends) Assign more label room for history list 2014-10-13 04:28:29 +02:00
twinaphex 4f97781f42 Cleanup some code in menu_action.c 2014-10-13 04:02:53 +02:00
twinaphex 467a5144c4 Get rid of obsolete log 'Gets here' 2014-10-13 03:32:43 +02:00
twinaphex 15201318da Reimplement custom bind mode setting 2014-10-13 03:32:22 +02:00
twinaphex 481c5ce9d4 Start hooking up Disk Options -> Disk Index again 2014-10-13 03:26:44 +02:00
twinaphex b623b42615 Rename menu_entries_push_list to push_list 2014-10-13 03:01:59 +02:00
twinaphex 681c082a67 Cleanup info_screen_iterate 2014-10-13 02:56:14 +02:00
twinaphex 83442ee467 Cleanups - grab pointer to menu_filelist_cbs_t only once and then
pass it around in menu_common_iterate
2014-10-13 02:15:45 +02:00
twinaphex d2f5d39259 Rename menu_parse_and_resolve to menu_entries_deferred_push 2014-10-13 02:10:27 +02:00
twinaphex 503329c9a6 Make menu_entries_push_list static 2014-10-13 02:08:39 +02:00
twinaphex e3807b87f7 Cut down on menu_entries_push_list 2014-10-13 02:03:36 +02:00
twinaphex 9f9978c0a2 Refactor action_ok_push_history_list 2014-10-13 01:42:10 +02:00
twinaphex 58f16896c8 Have to resort to this to have detect core working properly
again for zipped archives
2014-10-13 00:37:27 +02:00
Jean-André Santoni 50bda012ed (Lakka) Fix FBO 2014-10-13 00:21:23 +02:00
Jean-André Santoni e4e892efad (XMB) Fix navigation_clear regression 2014-10-12 23:53:37 +02:00
twinaphex 94110ea997 Add bool pending_push parameter to menu_clear_navigation 2014-10-12 23:44:10 +02:00
twinaphex 5f8fb88d19 Revert "start reducing calls to menu_clear_navigation"
This reverts commit 202b1e2006.
2014-10-12 23:36:54 +02:00
twinaphex 202b1e2006 start reducing calls to menu_clear_navigation 2014-10-12 23:31:04 +02:00
twinaphex f52c79e197 menu_shader_manager_setting_toggle - rename id to type 2014-10-12 22:16:10 +02:00
twinaphex e11abc3f76 (Menu) Reimplement deferred_core list without needing need_refresh 2014-10-12 21:55:59 +02:00
twinaphex 789ef212a5 Cleanups in menu_common_backend.c 2014-10-12 21:38:24 +02:00
twinaphex 10602ee796 (menu_common_backend.c) Get rid of some unnecessary header includes 2014-10-12 21:23:48 +02:00
twinaphex 97d41dae64 (XMB) Get rid of some unneeded header includes 2014-10-12 21:21:43 +02:00
twinaphex adb9e392ed (glui.c) Get rid of some unnneeded header includes 2014-10-12 21:20:31 +02:00
twinaphex cc3c116868 (lakka.c) Get rid of some unneeded header includes 2014-10-12 21:19:36 +02:00
Twinaphex 8793508779 Merge pull request #1135 from lakkatv/xmb
(Menu) Fade on search
2014-10-12 21:00:39 +02:00
Jean-André Santoni e27ed089f5 (Menu) Fade on search 2014-10-12 20:58:48 +02:00
Twinaphex b38e7718a5 Merge pull request #1134 from lakkatv/xmb
(Menu) Ticker line
2014-10-12 20:38:10 +02:00
Jean-André Santoni 3f7af3d164 (Menu) Remove the unwanted vertical animation on screen switch 2014-10-12 20:34:55 +02:00
Jean-André Santoni e0a33a9b3c (Menu) Ticker line 2014-10-12 20:30:19 +02:00
twinaphex 23c3ae3d79 Get rid of some unnecessary header includes in rgui.c 2014-10-12 20:25:12 +02:00
twinaphex f1511e76f1 (Menu) Add missing extern C namespaces for C++ builds 2014-10-12 20:22:33 +02:00
twinaphex b1eb0e6493 Reduce header includes in menu_common_backend.c 2014-10-12 20:17:12 +02:00
twinaphex fae308d1f9 (menu_common_backend.c) Cut down on some code duplication 2014-10-12 20:15:02 +02:00
twinaphex bbb28c06e6 (Menu) Implement action_start callback as well 2014-10-12 20:11:45 +02:00
twinaphex 0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
Twinaphex 61fd8b38dc Merge pull request #1133 from lakkatv/xmb
(Menu) Use a scale factor, fix shader color
2014-10-12 19:21:40 +02:00
Jean-André Santoni 16c9cf2698 (Menu) Use a scale factor, fix shader color 2014-10-12 19:22:01 +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 e71486a9bf Start implementing toggle actions in menu_entries_cbs.c 2014-10-12 19:13:42 +02:00
twinaphex 1196e3b4eb (menu_common_backend.c) Indenting nits 2014-10-12 18:59:28 +02:00
twinaphex c3f9bd022b Move menu_parse_list up 2014-10-12 18:37:35 +02:00
Twinaphex d15d7c9e8f Merge pull request #1132 from lakkatv/xmb
(Menu) Fix transparent overlay when displaying messages with pause_libre...
2014-10-12 18:24:26 +02:00
Jean-André Santoni 6ffa9b1f08 (Menu) Fix transparent overlay when displaying messages with pause_libretro 2014-10-12 18:22:51 +02:00
twinaphex 7643445862 Create menu_parse_list 2014-10-12 18:15:03 +02:00
twinaphex 752fb8e472 (menu_common_backend.c) Indenting nits 2014-10-12 18:01:07 +02:00
twinaphex b1e636a1ff (XMB) Same here 2014-10-12 17:56:32 +02:00
twinaphex 2d42c43d52 (Lakka) Don't use unsafe strcpy anywhere in codebase 2014-10-12 17:55:09 +02:00
twinaphex 2fc208ed57 Reduce code duplication in menu_load_or_open_zip_iterate 2014-10-12 17:53:01 +02:00
twinaphex da821ead36 Get rid of unnecessary conditional in menu_settings_iterate 2014-10-12 17:50:01 +02:00
twinaphex 71978000b4 (Menu) Hook up action OK for help screen 2014-10-12 17:46:08 +02:00
twinaphex aefe0f00e6 (Menu common backend) Simplify menu_action_ok 2014-10-12 17:37:37 +02:00
twinaphex cb5cea205a (Menu) Some cleanups 2014-10-12 17:30:04 +02:00
twinaphex 38e671dd8f (menu_entries.c) Small nits 2014-10-12 07:03:58 +02:00
Twinaphex 8a2535f547 Merge pull request #1131 from lioncash/leak
glui: Fix potential memory leak
2014-10-12 06:27:48 +02:00
Lioncash de1de54ef6 glui: Fix potential memory leak 2014-10-12 00:25:18 -04:00
Twinaphex 76d003dc77 Merge pull request #1130 from aliaspider/master
use menu_set_navigation after a keyboard search instead of modifying
2014-10-12 06:16:41 +02:00
twinaphex d824279198 Move more code over to menu_entries_cbs.c 2014-10-12 05:36:54 +02:00
twinaphex 7a1851f80c (menu_common_backend.c) cleanups 2014-10-12 05:24:52 +02:00
twinaphex dce09587ba Move more settings over to menu_entries_cbs.c 2014-10-12 05:15:36 +02:00
aliaspider a3cef5ec38 use menu_set_navigation after a keyboard search instead of modifying
menu->selection_ptr directly.
2014-10-12 04:03:22 +01:00
twinaphex 170fbdc494 Move more settings over to menu_entries_cbs.c 2014-10-12 05:01:52 +02:00
twinaphex 3c7919ec51 Get rid of HAVE_SHADER_MANAGER definition in menu_common_backend.c 2014-10-12 04:45:31 +02:00
twinaphex 6dcef65dba Get rid of menu_parse_check function call in menu_action_ok 2014-10-12 04:43:43 +02:00
twinaphex c8e121173a Move MENU_FILE_PLAIN action OK handling over to menu_entries_cbs.c 2014-10-12 04:41:33 +02:00
twinaphex 17035b82c5 Create action_ok_set_path in menu_entries_cbs.c 2014-10-12 04:21:08 +02:00
twinaphex 57ef160288 Refactor menu_entries_cbs_init_bind_ok 2014-10-12 04:16:39 +02:00
twinaphex 3440b97b4d (menu_entries_cbs.c) Implement action_ok_config_load 2014-10-12 04:11:41 +02:00
twinaphex aa1e56fd29 Move menu_action_ok of MENU_FILE_DIRECTORY and MENU_FILE_CARCHIVE
over to menu_entries_cbs.c
2014-10-12 04:06:36 +02:00
twinaphex ad9e618ec6 Reimplement menu_action_ok - MENU_FILE_CORE actions 2014-10-12 03:57:03 +02:00
Twinaphex 7ee79593a4 Merge pull request #1129 from lakkatv/xmb
XMB
2014-10-12 03:26:13 +02:00
Jean-André Santoni 7be7205880 (XMB)(Lakka)(GLUI) Do not display png background when a content is launched if pause_libretro is false 2014-10-12 03:24:12 +02:00
Twinaphex 6ef0abedcb Merge pull request #1128 from mprobinson/drivers-reinit
Fix use-after-free
2014-10-12 03:17:07 +02:00
twinaphex 2dadf9fc10 Reimplement MENU_FILE_USE_DIRECTORY 2014-10-12 03:14:03 +02:00
Mike Robinson f99f8c7beb Fix use-after-free
label was freed at menu_entries.c:263, so do comparison first.
2014-10-12 02:11:08 +01:00
twinaphex 82d1168622 (Menu) Move more actions over to menu_entries_cbs.c 2014-10-12 03:01:16 +02:00
Jean-André Santoni a0dfe75028 (XMB) responsive 2014-10-12 02:52:33 +02:00
Twinaphex 78e58e4a0f Merge pull request #1127 from lakkatv/xmb
(XMB) use PNG background if present
2014-10-12 02:36:15 +02:00
Jean-André Santoni fa53784f9a (XMB) use PNG background if present 2014-10-12 02:35:50 +02:00
twinaphex 6bf74b1bd2 (Menu) Fix playlist pushing issue 2014-10-12 02:31:25 +02:00
twinaphex df67181e3b Split up bind_ok into bind_ok and bind_ok_toggle in case this
becomes an issue later
2014-10-12 02:16:26 +02:00
Twinaphex 19149d85c5 Merge pull request #1126 from lakkatv/xmb
(XMB) Start implementing xmb_populate_entries
2014-10-12 02:01:31 +02:00
twinaphex ea29099e0a Start moving menu_action_ok over as well 2014-10-12 02:00:24 +02:00
twinaphex c4d9642bf4 Reimplement history_list action OK 2014-10-12 01:51:55 +02:00
twinaphex 3562f3e499 (menu_entries_cbs.c) - Cleanups 2014-10-12 01:39:13 +02:00
twinaphex 65bfe816d0 (Menu entries cbs) Move another setting over 2014-10-12 01:32:05 +02:00
twinaphex 4dade7cc0b (Menu entries cbs) Move another entry over 2014-10-12 01:27:53 +02:00
Jean-André Santoni fd667aa6c7 (XMB) Start implementing xmb_populate_entries 2014-10-12 01:27:31 +02:00
twinaphex d09d0eb0bf Implement action_ok for one function already 2014-10-12 01:23:41 +02:00
twinaphex 48e2c62e10 Add stub menu_entries_cbs.c/menu_entries_cbs.h 2014-10-12 00:45:42 +02:00
twinaphex c6e12f4806 (Menu) Implement stub actiondata callbacks for menu common backend 2014-10-12 00:33:17 +02:00
twinaphex 6de130a94b (Menu) Add action_data to file_list_t and add callbacks to menu
backend driver
2014-10-12 00:10:44 +02:00
twinaphex add2f96bac (Menu) Reimplement MENU_ACTION_REFRESH 2014-10-11 23:54:29 +02:00
twinaphex 8207c925e9 Revert "(menu_entries.c) Reduce calls to file_list_clear"
This reverts commit d5042760e5.
2014-10-11 16:53:19 +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 925d873d91 Refactor menu_entries_get_last_setting out of existence 2014-10-11 15:49:38 +02:00
twinaphex 7c3080b312 Change size of char arrays to PATH_MAX 2014-10-11 15:45:11 +02:00
twinaphex d5042760e5 (menu_entries.c) Reduce calls to file_list_clear 2014-10-11 15:43:44 +02:00
twinaphex 85f7a5dcba (Menu entries) Cleanups 2014-10-11 05:56:35 +02:00
twinaphex 0089833f5d (Menu) Rename menu_entries_pop to menu_entries_pop_list 2014-10-11 05:50:34 +02:00
twinaphex 520bc6e852 (menu_shader.c/menu_input_line_cb.c) Minor cleanups 2014-10-11 05:45:18 +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 999ffb3427 Simplify update_tweens 2014-10-11 05:26:00 +02:00
twinaphex fb116af9cc Refactor update_tween - kivutar - verify if everything still
works as expected
2014-10-11 05:23:49 +02:00
twinaphex 77f43c78e5 Rename setting_data_get_list to setting_data_new 2014-10-11 04:59:03 +02:00
twinaphex 2ad61f1717 (GLUI) Get rid of glui_ prefix for certain variables 2014-10-11 03:15:02 +02:00
Twinaphex 441e368e9a Merge pull request #1120 from aliaspider/master
use menu->list_settings directly.
2014-10-11 03:07:42 +02:00
aliaspider c118ec20ea use menu->list_settings directly. 2014-10-11 02:05:43 +01:00
twinaphex 027a1c4450 (RGUI) Create rgui_handle_t and assign it to driver.menu->userdata 2014-10-11 03:03:09 +02:00
Jean-André Santoni 703ee512ed (XMB) Fix flickering, remove need_refresh check 2014-10-11 02:50:11 +02:00
Jean-André Santoni 1f82510ef9 (XMB) Center messagebox 2014-10-11 02:03:58 +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
Mike Robinson 5fe98e882e Fix use-after-free
menu_settings_iterate() would strcmp freed labels after exiting
a submenu.
2014-10-11 00:22:02 +01:00
Alcaro da8a02ddb2 Revert "Fix a leak here." because it gives segfaults.
This reverts commit 156449ca9d.
2014-10-10 23:43:11 +02:00
Alcaro 156449ca9d Fix a leak here. 2014-10-10 23:01:17 +02:00
Twinaphex 908001a861 Merge pull request #1116 from lakkatv/xmb
(XMB) Remove the xmb_ prefix of variables contained in the xmb_handler
2014-10-10 22:42:09 +02:00
Jean-André Santoni 261f1022e3 (XMB) Remove the xmb_ prefix of variables contained in the xmb_handler 2014-10-10 22:42:56 +02:00
twinaphex a5de4f7f75 Pass index to 'list_delete' callback as well 2014-10-10 22:36:30 +02:00
Jean-André Santoni 557f83377d (XMB) Remove uneeded headers 2014-10-10 22:31:43 +02:00
twinaphex dff600fdb2 Implement userdata variable for file_list - use it in
XMB menu display driver - segfaults less frequent but could still
trigger one
2014-10-10 22:08:11 +02:00
twinaphex 24865759ff (RMenu XUI) Clean up unused str_buffer 2014-10-10 19:58:36 +02:00
twinaphex e50958a096 Small change in menu_animation.h 2014-10-10 19:54:15 +02:00
twinaphex 50a45ab073 Rename and move frontend/menu/disp/tween.c to frontend/menu/menu_animation.c 2014-10-10 19:53:13 +02:00
twinaphex ddd210d4f0 (Tween) Refactor update_tween and make it a static function 2014-10-10 19:36:17 +02:00
twinaphex 6c51889430 (RMenu) Add safety check in rmenu_init 2014-10-10 19:22:57 +02:00
twinaphex 064fbfb35c (Lakka) Uniquely name vertex and tex_coord variables 2014-10-10 19:18:25 +02:00
twinaphex f660071355 (Lakka) Every global variable moved over to lakka_handle_t now 2014-10-10 18:45:22 +02:00
twinaphex 0962b83455 Move more variables to lakka_handle_t pt. 3 2014-10-10 18:41:41 +02:00
twinaphex f021b1818f (Lakka) Move more variables over pt. 2 2014-10-10 18:20:52 +02:00
twinaphex 75002d26a7 (Lakka) Move more variables over 2014-10-10 18:10:13 +02:00
twinaphex dd55a65216 Move margin variables over to lakka_handle_t 2014-10-10 17:58:02 +02:00
twinaphex f58cd011e8 Move more variables to lakka_handle_t 2014-10-10 17:50:55 +02:00
twinaphex af18048837 (Lakka) Create lakka_free_userdata 2014-10-10 16:55:36 +02:00
twinaphex 60e5b881b9 (Lakka) Move categories over to userdata too 2014-10-10 16:53:02 +02:00
twinaphex c6a27e46ae (Lakka) Start moving global variables over to lakka_handle_t struct, and
bind it to driver.menu->userdata
2014-10-10 16:38:02 +02:00
twinaphex ca25d46742 (GLUI) Implement menu->userdata for GLUI 2014-10-10 16:23:12 +02:00
twinaphex e853eb88d7 Add userdata variable to menu_handle_t 2014-10-10 15:52:12 +02:00
twinaphex c8d9a71424 (XMB) Cleanups 2014-10-10 05:54:36 +02:00
twinaphex 7fed404a8d Cut down on some calls made to add_tween 2014-10-10 00:42:22 +02:00
twinaphex 821e37f480 Start reimplementing tween.c functions 2014-10-10 00:01:45 +02:00
Jean-André Santoni 0d9261663c (XMB) Implement context reset 2014-10-09 22:59:05 +02:00
twinaphex 5c728cef82 (XMB) Cleanups pt. 1 2014-10-09 22:45:29 +02:00
twinaphex 5f50570313 (XMB) Rename num_nodes to something more sane 2014-10-09 22:33:23 +02:00
twinaphex 4a6e59d35e Run xmb_selection_pointer_changed for all 'navigation'-related
functions right now
2014-10-09 22:30:17 +02:00
twinaphex 6995d46529 (XMB) Make some stub function implementations for navigation/list operation callbacks 2014-10-09 22:25:13 +02:00
twinaphex 07cd41c46b (XMB) Move another global variable to XMB 2014-10-09 21:57:05 +02:00
twinaphex fd7824ede5 (XMB) Don't use strcpy - always use strlcpy 2014-10-09 21:52:15 +02:00
twinaphex f0dca2cc18 (XMB) Some cleanups 2014-10-09 21:47:40 +02:00
Twinaphex 0d9a45cff0 Merge pull request #1109 from lakkatv/xmb
(XMB) Fix setttings values display
2014-10-09 19:22:08 +02:00
Jean-André Santoni ca11654e49 (XMB) Fix setttings values display 2014-10-09 19:22:42 +02:00
twinaphex 6f84dbd710 apply_deferred_settings - nit 2014-10-09 19:21:44 +02:00
Twinaphex c1ec8811f3 Merge pull request #1108 from lakkatv/xmb
(XMB) Use the populate entries callback, fixes the segfault
2014-10-09 19:06:20 +02:00
Jean-André Santoni 0dcf1949ad (XMB) Use the populate entries callback, fixes the segfault 2014-10-09 19:06:07 +02:00
Mike Robinson b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
twinaphex 623e19edd5 (XMB) Cleanups 2014-10-09 05:35:18 +02:00
Twinaphex 91f2090297 Start adding xmb.c to Apple build 2014-10-09 05:06:32 +02:00
twinaphex 438fcccbbf (XMB) Uniquely name global vertex and tex_coord 2014-10-09 04:51:42 +02:00
twinaphex 84a35d4176 (XMB) Encapsulate everything inside xmb_handle_t struct 2014-10-09 04:34:16 +02:00
Twinaphex de130dd516 Build fix for non-HAVE_NETPLAY 2014-10-09 04:04:56 +02:00
twinaphex 86783713c8 (XMB) Build fixes 2014-10-09 02:58:05 +02:00
Twinaphex 6f951cbd8b Merge pull request #1106 from lakkatv/xmb
Xmb
2014-10-09 02:41:33 +02:00
Jean-André Santoni fed8744aef (XMB) Vertical animations 2014-10-09 02:41:08 +02:00
Twinaphex a86d5550a5 Merge pull request #1105 from aliaspider/master
(Lakka) fix segfault.
2014-10-09 02:34:05 +02:00
aliaspider e34402e98e (Lakka) fix segfault. 2014-10-09 01:32:56 +01:00
twinaphex a5d457728c (Lakka) Take out dead font driver code 2014-10-09 02:20:07 +02:00
twinaphex 3ba45d3eae Create init_lists in menu display driver 2014-10-09 01:31:11 +02:00
Jean-André Santoni c162510005 (XMB) Make functions static 2014-10-09 01:24:54 +02:00
Jean-André Santoni 7018d58731 (XMB) Initial commit 2014-10-09 01:21:22 +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 4100f40373 (Menu) Cleanup 2014-10-08 02:46:46 +02:00
twinaphex da3734e8c7 Add mask parameter to setting_data_get_list 2014-10-08 02:13:07 +02:00
twinaphex 150539decc Take out header include in frontend.c 2014-10-08 01:08:16 +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 0e31f60ad1 Dehardcode some code in menu_entries.c 2014-10-07 22:48:57 +02:00
Twinaphex 7270f8982a (OSX) Get rid of unused variable warnings for now on OSX 2014-10-07 16:51:25 +02:00
Twinaphex 665a56b0b4 (iOS) Properly implement this - seems to fix the issue on second startup
with the simulator
2014-10-07 04:55:14 +02:00
Twinaphex 3280c0b2c9 (iOS) Build fix 2014-10-07 04:46:14 +02:00
twinaphex 3512919f9a (iOS) Start implementing frontend_apple_get_environment_settings 2014-10-07 04:43:59 +02:00
twinaphex 8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
twinaphex 8ac298a232 (Menu) Cleanup menu_action_setting_set somewhat 2014-10-06 23:43:17 +02:00
aliaspider a30ca8a082 (Lakka) fix texture loading when video_threaded is set to 'true' 2014-10-06 02:41:53 +01:00
aliaspider ce9cd4ac8f (Lakka) fix segfault due to uninitialized pointer in coords. 2014-10-06 01:37:04 +01: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
Jay McCarthy 0adcd2df76 Change interpretation of iteration return 2014-10-04 09:11:26 -04:00
twinaphex 458eff5f4d Both the 'pause' state and the 'menu' state return 1 - so that
we can signal to the Apple upper-layer function that we want
to run CFRunLoopWakeUp
2014-10-04 14:14:45 +02:00
twinaphex f86ad85fcd Use -1 for indicating we want to exit out of rarch_main_iterate 2014-10-04 13:41:57 +02:00
twinaphex e79d3d1630 Change return values for rarch_main_iterate and do_state_checks 2014-10-04 13:30:09 +02:00
Twinaphex 94f653ed2d Merge pull request #1087 from aliaspider/master
(GLUI) fixes segfault when selecting a video filter.
2014-10-04 03:18:55 +02:00
aliaspider 6ae462a61c (GLUI) fixes segfault when selecting a video filter. 2014-10-04 02:17:32 +01:00
Twinaphex 81ffa31441 (Apple) Comment out CFRunLoopWakeUp 2014-10-04 02:28:26 +02:00
twinaphex d68903f417 Add quick workaround for 100% CPU activity for iOS - NOTE -
FIXME/TODO should be acted upon since this is quite bad behavior
in its current state
2014-10-04 02:10:22 +02:00
twinaphex aa961dba9e Add 'Limit Maximum Run Speed' setting - set this to 'off' to
get the fastforward_ratio = -1 (no limit) setting again
2014-10-03 18:05:46 +02:00
twinaphex 86e0292883 (GX) Fix build 2014-10-03 17:01:56 +02:00
Twinaphex bdbd8842d3 Merge pull request #1082 from lakkatv/lakka
(Lakka) Fix subitem icon x coordinate
2014-10-03 15:38:03 +02:00
Jean-André Santoni 14b2396fd8 (Lakka) Fix subitem icon x coordinate 2014-10-03 15:31:08 +02:00
Twinaphex aa990f427f Merge pull request #1081 from lakkatv/lakka
(Lakka) Fix trigger menu animation flickering
2014-10-03 14:20:37 +02:00
Jean-André Santoni 95b22058fe (Lakka) Fix trigger menu animation flickering 2014-10-03 14:20:32 +02:00
twinaphex db47e069c2 Get rid of unused negative_return macro 2014-10-03 14:08:42 +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 7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
twinaphex e6a79f798b Refactor MODE_EXITSPAWN and MODE_EXITSPAWN_START_GAME 2014-10-02 21:39:29 +02:00
twinaphex a0e3404422 Free up g_extern.lifecycle_state - start with getting rid of
MODE_EXTLAUNCH_MULTIMAN/MODE_EXITSPAWN_MULTIMAN
2014-10-02 21:17:32 +02:00
twinaphex e581436c0a Remove unused menu_action_ok LOG 2014-10-02 17:48:40 +02:00
twinaphex b22cf18228 (GL/Shaders) Put fixed-function vertex/matrix coord code inside shader
backend files as fallback routines
2014-10-02 15:17:21 +02:00
Twinaphex 7bfde3df63 Merge pull request #1077 from lakkatv/lakka
(Lakka) Un-hardcode alpha values
2014-10-02 13:39:05 +02:00
Jean-André Santoni 30f4572fda (Lakka) Un-hardcode alpha values 2014-10-02 13:36:03 +02:00
twinaphex 6c675e6580 Create gfx/gl_common.c 2014-10-02 13:32:42 +02:00
twinaphex 6b054da299 Rename shader_common to shader_context 2014-10-02 13:21:45 +02:00
twinaphex 28ab662668 (PS3) Build fixes 2014-10-02 13:00:04 +02:00
twinaphex 780c3220a0 Build fix for targets with shaders - get rid of now
obsolete menu_common_backend.h header
2014-10-02 11:36:52 +02:00
twinaphex e07ae03047 (GX) Build fix 2014-10-02 11:34:06 +02:00
twinaphex e4fd66ed98 (menu_shader.c) Fix dependency on shaders being there 2014-10-02 11:31:31 +02:00
twinaphex 89e449cc86 Get rid of header dependencies on GL in shader_common.h 2014-10-02 11:27:11 +02:00
twinaphex ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
Jean-André Santoni abe6aa79fe (Lakka) Fix label display with video_threaded 2014-10-01 23:52:04 +02:00
Jean-André Santoni 66cf8bd820 (Lakka) Make effects depending on FBO optional and disabled for now 2014-10-01 22:44:36 +02:00
twinaphex 2523efdf48 (Lakka) Cleanups 2014-10-01 16:27:36 +02:00
twinaphex 23e1744235 (Menu) Update rmenu display drivers 2014-10-01 15:17:34 +02:00
twinaphex d99fa70fe0 (menu_input_line_cb.c) Get rid of some unneeeded variables - silence
warnings
2014-10-01 15:16:03 +02:00
twinaphex f273b34f73 deinit_msg_queue becomes static function - clean it up in rarch_main_state_free 2014-09-30 21:29:28 +02:00
twinaphex 9daad8bdb8 Split up rarch_main_clear_state into two functions - rarch_main_state_new
and rarch_main_state_free
2014-09-30 20:46:15 +02:00
Toad King b0ade7e010 add getVendorId and getProductId to android device detection (needs testing) 2014-09-30 12:31:37 -05:00