Commit Graph

3917 Commits

Author SHA1 Message Date
Jay McCarthy 2a0761337a Fixing the way that RA gets the home directory due to iOS8 change
Annoyingly it still works in the iOS8 simulator without this change.
2014-10-24 13:22:50 -04:00
aliaspider 6289abc1e0 (menu) fixes menu not being properly hidden after loading/saving a state 2014-10-24 02:24:38 +01:00
Jean-André Santoni a0dab8d58e (XMB) Prevent list highlighting 2014-10-23 22:22:25 +02:00
twinaphex 9354fd05b1 Cleanup headers in menu_entries_cbs.c 2014-10-23 08:07:00 +02:00
twinaphex c43320f29d Remove MENU_SETTINGS_CUSTOM_BIND_MODE 2014-10-23 08:04:26 +02:00
twinaphex 380041f974 (Menu) Add Bind Mode option 2014-10-23 08:00:45 +02:00
twinaphex 97c1241a89 Remove driver.menu->current_pad 2014-10-23 07:28:16 +02:00
twinaphex 871afbb940 (Menu) Add Bind All / Bind Default All options 2014-10-23 07:26:04 +02:00
twinaphex a06201d73b (Input) Add Analog To Digital Type options 2014-10-23 06:24:02 +02:00
twinaphex 82d64254f4 Fixup some headers 2014-10-23 03:54:18 +02:00
sergiobenrocha2 1b16487458 content.h and fix path to config_file.h 2014-10-22 23:39:36 -02:00
twinaphex 32af71a9ca Start adding new setting type - ST_ACTION 2014-10-23 00:10:58 +02:00
twinaphex 008c5c4cde Revert "(Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver"
This reverts commit a639e6163d.
2014-10-22 19:52:08 +02:00
twinaphex d1998307df Start implementing 'Device Type' setting 2014-10-22 08:42:51 +02:00
twinaphex ccc4b70123 don't redefine returntype macro 2014-10-22 07:22:24 +02:00
twinaphex ccf43f6e85 Take out dynamic.h header include from general.h 2014-10-22 04:27:51 +02:00
twinaphex a77715dc2f (PS3) Build fix 2014-10-22 04:16:19 +02:00
twinaphex 0b95e3f2d7 (XDK1) C89 build fixes for config_file.c - Salamander build fixes 2014-10-22 03:52:23 +02:00
twinaphex 37ef0a4ce6 Update Salamander targets/Android 2014-10-22 03:42:07 +02:00
Twinaphex cbae1583f3 Merge pull request #1179 from lakkatv/xmb
(XMB) Display ON/OFF switch if such icons are available
2014-10-22 02:42:38 +02:00
Jean-André Santoni 262495f8e7 (XMB) Display ON/OFF switch if such icons are available 2014-10-22 02:41:28 +02:00
twinaphex 3ec3004142 (XDK1) Build fixes 2014-10-22 02:05:01 +02:00
twinaphex a6b52d1f1f (XDK1) Some build fixes 2014-10-22 02:00:12 +02:00
Twinaphex 51122cad6d Merge pull request #1178 from lakkatv/xmb
Xmb
2014-10-22 01:42:56 +02:00
Jean-André Santoni f8185a58d1 (XMB) Fix another regression 2014-10-22 01:40:02 +02:00
Jean-André Santoni d8fbe2105d (XMB) Hide type label for entries already represented by a specific icon 2014-10-22 01:37:55 +02:00
Twinaphex c94a8e24d7 Merge pull request #1177 from lakkatv/xmb
(Lakka) Generate mipmaps, and use only 256x256 png
2014-10-22 01:32:37 +02:00
Jean-André Santoni 1e727c0c31 (Lakka) Generate mipmaps, and use only 256x256 png 2014-10-22 01:28:16 +02:00
Twinaphex 33f541807a Merge pull request #1176 from lakkatv/xmb
(XMB) Generate mipmaps, and use only 256x256 png
2014-10-22 01:26:04 +02:00
Jean-André Santoni e3594f36dd (XMB) Generate mipmaps, and use only 256x256 png 2014-10-22 01:22:22 +02:00
Twinaphex f5ebcb7a94 Merge pull request #1175 from lakkatv/xmb
(XMB) Fix display of items above the horizontal line
2014-10-22 01:17:58 +02:00
twinaphex 174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00
Jean-André Santoni 657312b342 (XMB) Fix display of items above the horizontal line 2014-10-22 01:04:59 +02:00
twinaphex 1291256b66 (360) Build fixes 2014-10-22 00:55:35 +02:00
twinaphex 6849f4f18c (Salamander) Fix Salamander targets 2014-10-22 00:28:56 +02:00
twinaphex 9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex dd93d549aa Rename rarch_file_path to file_ops 2014-10-21 23:53:09 +02:00
twinaphex 2c5b744bc4 Compartmentalize file_path functions over to file_path.c 2014-10-21 23:33:20 +02:00
twinaphex a92b675f8e Move string_list to SDK 2014-10-21 19:59:27 +02:00
twinaphex 3d9186f680 Move file_list.c to libretro SDK 2014-10-21 19:23:28 +02:00
twinaphex 383eb08988 Don't have file_path.h include dir_list.h 2014-10-21 18:46:39 +02:00
twinaphex 81c5019afb Move miscellaneous header over to libretro SDK 2014-10-21 08:39:37 +02:00
twinaphex bc254071b9 (360) Build fixes 2014-10-21 08:13:50 +02:00
twinaphex 7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex 002a2f6ecd (XMB) Fix signed/unsigned mismatches 2014-10-21 05:51:30 +02:00
twinaphex ba2a2048a2 (MSVC) Silence signed/unsigned mismatches warnings 2014-10-21 05:45:43 +02:00
twinaphex e33c6ef6b2 (360) Build fixes 2014-10-21 05:44:09 +02:00
twinaphex e0c98a1059 (MSVC) Add XMB 2014-10-21 05:38:23 +02:00
twinaphex 9519304b12 (MSVC) Build fixes 2014-10-21 05:33:58 +02:00
twinaphex c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex 375273720f (GX) Fix implicit declaration warnings 2014-10-21 01:34:00 +02:00
twinaphex df153855c7 (RMenu) Fix build 2014-10-21 01:27:45 +02:00
twinaphex 719c7e445b (Salamander) Fix build 2014-10-21 01:24:25 +02:00
Twinaphex dbb5f02e9d (Lakka) Remove unused variable 2014-10-21 00:23:25 +02:00
Twinaphex b884bc6e7f Merge pull request #1174 from lakkatv/xmb
(Lakka) Remove Main Menu from the settings list
2014-10-21 00:15:05 +02:00
Jean-André Santoni 7908389077 (Lakka) Remove Main Menu from the settings list 2014-10-21 00:13:34 +02:00
twinaphex a14bfdfca2 Don't use variables named 'bind' and 'index' 2014-10-20 23:41:01 +02:00
Twinaphex f3d04f0fde (XMB) Cleanups 2014-10-20 23:08:58 +02:00
Twinaphex 4378ccefcb (XMB) Fix unused variable(s) warnings 2014-10-20 21:53:16 +02:00
twinaphex 42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
Jean-André Santoni a639e6163d (Menu) Performance improvement, prevent drawing the menu texture when using a GL menu driver 2014-10-20 21:26:55 +02:00
Twinaphex b4c6715eb0 Merge pull request #1172 from lakkatv/xmb
(XMB) Horizontal animations using file_list cache
2014-10-20 20:06:17 +02:00
Jean-André Santoni 630b5fa320 (XMB) Horizontal animations 2014-10-20 20:00:39 +02:00
Jean-André Santoni d1df2828a7 (Menu) Cache the lists and pointers on OK and CANCEL 2014-10-20 20:00:10 +02:00
Jean-André Santoni 0227602ce5 (Menu) Add cache for selection_buf and menu_stack 2014-10-20 19:56:50 +02:00
Jean-André Santoni 4bdc3a2818 (Menu) Add cache for selection_ptr 2014-10-20 19:56:18 +02:00
Jean-André Santoni 2f988c300b (Menu) Make disp_set_label work with any file_list 2014-10-20 19:54:55 +02:00
twinaphex def41a573f Avoid using 'index' for local variables 2014-10-20 19:18:18 +02:00
twinaphex bbadaf1911 Replace index variable name 2014-10-20 04:37:52 +02:00
Twinaphex 7c45f48965 Clean up unused variable 2014-10-20 02:55:31 +02:00
Jean-André Santoni 99111c2633 (XMB) Fix the offset bug in populate_entries 2014-10-20 01:51:00 +02:00
twinaphex 2050162817 menu_entries_cbs.c - cleanups 2014-10-19 22:42:23 +02:00
twinaphex 3c0dade671 (menu_entries_cbs.c) Remove unused code 2014-10-19 22:39:52 +02:00
aliaspider 10c2784c02 fixes game screen sometimes not showing in combination with some shaders
and menu drivers using GL.
note: this still doesnt fix the game screen not showing when
pause_libretro is set to true.
2014-10-19 21:24:29 +01:00
twinaphex d33a666753 Remove input_bind_device_id code 2014-10-19 19:45:56 +02:00
twinaphex 829060886d Take out more unused input file list settings code 2014-10-19 06:02:11 +02:00
twinaphex 2758646c4b Take out more no-longer needed input settings 2014-10-19 05:51:48 +02:00
twinaphex c99602d72d (menu_entries_cbs.c) Take out unused code 2014-10-19 05:49:37 +02:00
Toad King 0047aa9aaf add fast scrolling to settings menus 2014-10-18 20:38:46 -05:00
Jean-André Santoni 6afddd8261 (XMB) Fix depth animation 2014-10-18 16:49:51 +02:00
Jean-André Santoni 87df98661f (XMB) Display core icon 2014-10-18 16:26:02 +02:00
Jean-André Santoni 24a150cfce (XMB) Typo 2014-10-18 16:04:14 +02:00
Jean-André Santoni 2d3c5aec6f (Menu) Fix menu_entries_parse_list not calling populate_entries 2014-10-18 14:52:32 +02:00
Jean-André Santoni 21db7b262a (Menu) Adjust margins 2014-10-18 14:51:50 +02:00
Twinaphex 9f60f8f28e (OSX) Fix default bundle_path in environment_get function 2014-10-18 04:36:35 +02:00
twinaphex a4f1e9d075 Add ST_INT to menu_action_handle_setting 2014-10-18 04:20:52 +02:00
twinaphex d86e83db15 Turn menu_list_push calls into menu_list_push_stack 2014-10-18 02:37:53 +02:00
twinaphex 73b070b782 Rewrite menu_list_get_size functions 2014-10-18 02:32:59 +02:00
twinaphex c465d25859 (Menu) Refactor menu_list_get_last_stack 2014-10-18 01:59:16 +02:00
twinaphex cef2de6a70 Rewrite menu_list_get_actiondata_last_stack 2014-10-18 01:53:50 +02:00
twinaphex 46f9b325f8 Refactor menu_list_pop_stack functions 2014-10-18 01:44:06 +02:00
twinaphex 3931134924 Rewrite menu_list_flush_stack_* functions - first parameter
becomes menu_list_t *
2014-10-18 01:39:05 +02:00
twinaphex 3b384926b8 (XMB) Build fix 2014-10-18 01:30:43 +02:00
Twinaphex cee30ab29e Merge pull request #1163 from lakkatv/xmb
(XMB) Fix core list display
2014-10-18 01:29:57 +02:00
twinaphex d921061af8 menu_list_push_stack_ * functions now take in a menu_list_t *
parameter for 1st param instead of file_list_t *
2014-10-18 01:24:37 +02:00
Jean-André Santoni 51ff4b52a8 (XMB) Fix core list display 2014-10-18 01:24:14 +02:00
twinaphex e3894e7b9c Start using menu_list_new/menu_list_free 2014-10-18 01:17:00 +02:00
twinaphex ac61e0de3d (Menu) Create menu_list_new 2014-10-18 00:11:42 +02:00
twinaphex ed6fc11e95 Start adding menu_list struct and menu_list_free function 2014-10-17 23:52:36 +02:00
twinaphex b49bcf1541 Rename menu_list_free to menu_list_destroy 2014-10-17 23:49:13 +02:00
twinaphex f3ec94246c (Menu) Add menu_list_sort_on_alt 2014-10-17 23:46:53 +02:00
twinaphex 9bce38426c Add menu_list_set_alt_at_offset and menu_list_get_alt_at_offset 2014-10-17 23:43:53 +02:00
twinaphex 744e87f14d (Menu) Use menu_list_get_size 2014-10-17 23:38:30 +02:00
twinaphex e1e5f2af5d Create menu_list_get_action_data_at_offset 2014-10-17 23:32:40 +02:00
twinaphex 101680fd58 Create menu_list_get_at_offset 2014-10-17 23:28:33 +02:00
twinaphex 1ece7c8228 (Menu) Create menu_list_get_last_stack and menu_list_get_last 2014-10-17 22:53:30 +02:00
twinaphex 43d330fa47 Create menu_list_get_last and menu_list_get_last_stack 2014-10-17 22:41:20 +02:00
twinaphex 25efe98704 Create wrapper function menu_list_push_stack_refresh 2014-10-17 22:29:59 +02:00
twinaphex 4c6aff67f2 Refactor menu_entries_push into menu_list_push_refresh 2014-10-17 22:25:23 +02:00
twinaphex 1daf8c354e (menu_list.c) Add menu_list_get_size and menu_list_get_stack_size 2014-10-17 21:41:45 +02:00
Alcaro 77a131b0f9 Fix warning. It looks invalid, but that code is indeed weird. 2014-10-17 21:37:02 +02:00
twinaphex 858d859d3d Properly namespace menu_navigation.c functions 2014-10-17 21:25:33 +02:00
twinaphex 3164aebab7 Properly namespace functions in menu_entries.c 2014-10-17 21:06:48 +02:00
twinaphex 8da8447b28 Move menu_flush_stack_type to menu_list.c and rename it
menu_list_flush_stack
2014-10-17 21:02:44 +02:00
twinaphex b4cebd605e Refactor menu_entries_pop_stack 2014-10-17 20:55:41 +02:00
twinaphex 2de0775213 Rename menu_entries_pop_list into menu_list_pop_stack 2014-10-17 20:47:32 +02:00
twinaphex 0e2c108a8a Create menu_list_push_stack 2014-10-17 20:44:22 +02:00
twinaphex 687f593174 Create menu_list.c 2014-10-17 20:36:02 +02:00
Twinaphex 0132581ebc (OSX) Move code over to platform_apple.c 2014-10-17 17:05:27 +02:00
twinaphex c53632be81 Start implementing action OK for ST_BIND 2014-10-17 07:11:51 +02:00
twinaphex f901c2967f Revert "(Apple) Implement apple_content_loaded"
This reverts commit 861f9d14cd.
2014-10-17 05:27:54 +02:00
Twinaphex 861f9d14cd (Apple) Implement apple_content_loaded 2014-10-17 04:58:05 +02:00
twinaphex 7b2deee502 Rename playlist_push to history_playlist_push 2014-10-17 04:33:44 +02:00
twinaphex 7adcbc7311 Move rarch_playlist_push to frontend.c 2014-10-17 04:32:56 +02:00
twinaphex 3190b50e94 Move Content History Size option to Playlist Options 2014-10-17 04:27:12 +02:00
twinaphex 0f5161d621 Add History List Enable option 2014-10-17 04:17:28 +02:00
twinaphex d3b27fd888 Add content_loaded callback to frontend context driver 2014-10-17 03:55:16 +02:00
twinaphex d31c903ada (menu_action.c) menu_action_handle_setting - cut down on code duplication 2014-10-17 02:02:23 +02:00
twinaphex f518da61bf (menu_action.c) Cut down on code duplication 2014-10-17 01:37:17 +02:00
twinaphex 8d4fdd9e24 Implement call to populate_entries at the end of menu_entries_parse_list 2014-10-17 01:18:20 +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 278d8abd11 Rename MENU_FILE_SWITCH to MENU_FILE_PUSH 2014-10-16 18:29:19 +02:00
twinaphex e49cad7b68 Implement action start callback for ST_PATH and ST_DIR 2014-10-16 18:07:57 +02:00
twinaphex be5914d006 (menu_action.c) Cleanups 2014-10-16 17:57:42 +02:00
twinaphex bd1d8e65bc Implement action start callback for ST_PATH 2014-10-16 17:55:24 +02:00
twinaphex be4c043735 Cleanup menu_action.c 2014-10-16 17:19:48 +02:00
twinaphex 97f26dfae1 (menu_action.c) Get rid of some code duplication 2014-10-16 08:35:44 +02:00
twinaphex 34915aefce Add RARCH_CMD_PERFCNT_REPORT_FRONTEND_LOG 2014-10-16 08:31:10 +02:00
twinaphex ab78b8a4cd Reimplement disk_options_disk_index_toggle 2014-10-16 07:41:29 +02:00
twinaphex 4f0d124793 Don't include stdio.h where not needed 2014-10-16 07:27:42 +02:00
twinaphex fe1a083580 Revert "Simplify menu_common_type_is"
This reverts commit 395dc79f6c.
2014-10-16 07:15:35 +02:00
twinaphex 5ae79ef71d (menu_common_backend.c) Refactor some code 2014-10-16 06:52:25 +02:00
twinaphex 58b3540ef0 (menu_common_backend.c) Add MENU_ACTION_SELECT to menu_common_iterate 2014-10-16 06:49:09 +02:00
twinaphex 9537d5d2e9 Add some more sanity checks in menu_entries.c 2014-10-16 06:42:17 +02:00
twinaphex b6f6871b1c push_main_menu_list - add early return if setting is NULL 2014-10-16 06:39:22 +02:00
twinaphex ffc6b2f6c3 Reduce calls to menu_common_type_is 2014-10-16 06:01:59 +02:00
twinaphex 32944aac12 Revert "Better scrolling acceleration"
This reverts commit 975abe8bc4.
2014-10-16 04:37:20 +02:00
twinaphex 975abe8bc4 Better scrolling acceleration 2014-10-16 04:32:33 +02:00
twinaphex 395dc79f6c Simplify menu_common_type_is 2014-10-16 04:25:38 +02:00
twinaphex e371d598df (menu_common_backend.c) - Cleanups 2014-10-16 03:55:20 +02:00
Twinaphex 443a11a52b Get rid of unused variable warning 2014-10-16 03:17:44 +02:00
twinaphex 253d8e0da9 Properly split up callbacks 2014-10-16 02:53:35 +02:00
twinaphex 823884a508 Properly implement other start actions as well 2014-10-16 02:15:05 +02:00
twinaphex 4a581078fa Refactor more toggle functions to be action_start functions 2014-10-16 02:01:40 +02:00
twinaphex b9338a0067 Implement action OK callback for video resolution 2014-10-16 01:41:10 +02:00
twinaphex c488562755 Remove action_ok callbacks that are functionally the same as
MENU_ACTION_RIGHT
2014-10-16 01:38:06 +02:00
twinaphex 4f45bf694c MENU_ACTION_OK actions need to be functionally unique from MENU_ACTION_RIGHT 2014-10-16 01:36:39 +02:00
twinaphex 92d1d57b9f Implement action OK callbacks properly 2014-10-16 01:34:57 +02:00
twinaphex 8d68031ec4 Properly clean up function pointers in menu_common_list_delete 2014-10-16 00:53:10 +02:00
twinaphex fbc3abb621 Refactor push_list into static function push_main_menu_list 2014-10-15 22:13:17 +02:00
twinaphex 65c048b611 Reimplement deferred push input options 2014-10-15 22:10:41 +02:00
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
Jean-André Santoni c85d32b8a2 (Lakka) Fix draw_icon in gles2 2014-09-30 19:01:16 +02:00
Jean-André Santoni ce3ebc1bdb (Lakka) Fix GLES2 build 2014-09-30 18:12:37 +02:00
Jean-André Santoni 094c1022fb (Lakka) Fix shader coords bug 2014-09-30 16:19:22 +02:00
Jean-André Santoni 21de27d935 (Lakka) Fix zoom out animation 2014-09-30 15:16:47 +02:00
Jean-André Santoni d926d119a3 (Lakka) Fix menu toggle 2014-09-30 14:57:19 +02:00
Jean-André Santoni d0001eb666 (Lakka) FBO 2014-09-30 14:44:13 +02:00
twinaphex 4b0bcf39cc Get rid of dead code in menu_iterate 2014-09-30 12:43:06 +02:00
Twinaphex 53f3555076 (Apple) Fix pause hotkey locking up the app 2014-09-29 21:50:27 +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
Vladimir Panteleev 85f745e587 Document some input-related variables 2014-09-29 12:56:31 +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 c7d6eaa830 Refactor RARCH_ACTION_STATE_MENU_PREINIT into RARCH_ACTION_STATE_MENU_RUNNING 2014-09-29 13:27:28 +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 3c8cc513ab Make it possible to compile without menu support again 2014-09-28 18:01:59 +02:00
twinaphex 822bbe4e92 Create menu_shader_manager_apply_changes and move code to menu_shader.c 2014-09-28 17:42:31 +02:00
twinaphex 3bfa247770 (frontend.c) cleanups 2014-09-28 17:35:58 +02:00
twinaphex 94de11b060 Add resampler directory setting 2014-09-27 15:55:55 +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 19e5efe431 Take out unused load_menu_content_history 2014-09-26 06:04:08 +02:00
twinaphex 3b94edf14e (Menu) Grab all libretro keys in menu_input 2014-09-26 05:55:46 +02:00
Twinaphex 28c212c792 Merge pull request #1060 from lakkatv/lakka
(Lakka) Fix two submenu bugs
2014-09-25 23:32:02 +02:00
Jean-André Santoni 7fb42d5da9 (Lakka) Fix subitems fade out 2014-09-25 23:22:17 +02:00
Jean-André Santoni 61435123d0 (Lakka) Fix initial alpha and zoom for settings subitems 2014-09-25 23:17:22 +02:00
Jean-André Santoni 7c2bd73dfd (Lakka) Remember settings active submenu 2014-09-25 23:04:34 +02:00
Jean-André Santoni 6f996ade8c (Lakka) Prevent lakka_reset_submenu to reset all submenus 2014-09-25 22:58:32 +02:00
Twinaphex 470684cb43 menu_input - Remove unused variable 2014-09-25 21:21:46 +02:00
Twinaphex 7020b979da Merge pull request #1059 from lakkatv/lakka
(Lakka) Fix draw_text alpha when animating with a big LAKKA_DELAY
2014-09-25 20:50:15 +02:00
Jean-André Santoni 788a081f00 (Lakka) Fix draw_text alpha when animating with a big LAKKA_DELAY 2014-09-25 20:02:38 +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 d1d504df6c Implement menu toggle in a better way 2014-09-25 18:38:35 +02:00
twinaphex 00e605d9ba Take out MODE_MENu - and introduce g_extern.is_menu 2014-09-25 06:33:28 +02:00
twinaphex 13ac38324d Lower block_hotkey_until value to +15 2014-09-25 05:02:08 +02:00
twinaphex aa6d779fbc Added 1-second timeout when binding hotkeys 2014-09-25 04:44:24 +02:00
twinaphex 8015061720 Refactor menu_input - add input_keys_pressed in addition to
meta_input_keys_pressed
2014-09-25 04:19:09 +02:00
twinaphex 2309a3e716 Move input_poll to libretro_version_1.c 2014-09-24 09:52:01 +02:00
twinaphex 7b49e072ff Get rid of unnecessary function main_entry_iterate_shutdown 2014-09-24 08:33:43 +02:00
Twinaphex ff4e0928f4 Get rid of unused variable warnings 2014-09-24 08:30:05 +02:00
twinaphex 57489cb1be Move MAX_COUNTERS define to menu_common.h 2014-09-24 08:27:53 +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 bf2f55dc60 Move bind_iterate / bind_iterate_keyboard to menu_input_line_cb 2014-09-24 06:43:42 +02:00
twinaphex 90be5e6f93 (Menu) Cleanups pt. 1 2014-09-24 06:35:57 +02:00
Twinaphex faebff2db0 Merge pull request #1055 from Monroe88/patch-2
Only apply shader parameters immediately in Shader Parameters (Current).
2014-09-24 05:20:22 +02:00
twinaphex a7c10a5a17 (Menu) Refactor menu_custom_bind_iterate_ functions 2014-09-24 05:17:52 +02:00
Monroe88 a87efba091 Only apply shader parameters immediately in Shader Parameters (Current). 2014-09-23 21:19:03 -05:00
Twinaphex 6353240af4 Get rid of unused variables 2014-09-21 18:02:23 +02:00
Timo Strunk cb5c951a70 Merge remote-tracking branch 'upstream/master' into zip_ui
Conflicts:
	retroarch.c (defer_core was moved and modified by me)
2014-09-21 17:37:23 +02:00
Timo Strunk 193f416f8f Zip UI cleanup before pull request 2014-09-21 11:03:32 +02:00
twinaphex 430e0f1911 Reimplement rarch_main_iterate - menu iteration frame now gets
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
twinaphex ff9a16d407 Refactor main entry iteration function 2014-09-21 08:05:35 +02:00
twinaphex bdf9df6c2e Clean up more code in frontend.c 2014-09-21 07:39:17 +02:00
twinaphex 29aed58e4e Refactor MODE_LOAD_GAME 2014-09-21 06:50:10 +02:00
twinaphex 7056c9ca39 Refactor MENU_CLEAR_INPUT 2014-09-21 06:41:47 +02:00
twinaphex 9dc35b056f Refactor MODE_MENU_PREINIT code 2014-09-21 06:33:49 +02:00
twinaphex 9e362a4f35 Revert "Add stub functions for get_video_driver in frontends"
This reverts commit 98eaaf8f5f.
2014-09-20 23:35:55 +02:00
twinaphex 98eaaf8f5f Add stub functions for get_video_driver in frontends 2014-09-20 23:25:46 +02:00
Timo Strunk adfa00e193 Removed MENU_ACTION_Y, small bugfix with selections in zip select 2014-09-20 20:42:21 +02:00
Timo Strunk 3575f353bf Choosing whether to open or load a zip file in detect core should work now 2014-09-20 20:07:26 +02:00
Timo Strunk 864a5cdc4f Always interpret files as carchives in case of detect_core_list to allow browsing them. 2014-09-20 20:06:52 +02:00
Timo Strunk 97ea43994e Zipfiles open or run half finished 2014-09-20 19:10:05 +02:00
Timo Strunk 9c9543e7eb Added toggle button to open zip files in load content and detect core 2014-09-19 20:31:53 +02:00
Timo Strunk 7bc369642d Added generic message buffer and open_compressed flag to menu_driver 2014-09-19 20:31:18 +02:00
Timo Strunk 3672b4ba40 Added menu button Y 2014-09-19 20:28:30 +02:00
Jean-André Santoni c172169a9e (Lakka) Move tweening related functions in an external lib
so they can be used from another menu driver. Also add more tweening functions.
2014-09-19 13:36:18 +02:00
Jean-André Santoni 9bbd0b9825 (Lakka) Make settings values responsives 2014-09-19 11:31:06 +02:00
twinaphex f16a065cdd Fixes 'block hotkey enable' 2014-09-18 04:04:33 +02:00
twinaphex 4c4ae11ab6 Optimizations to input handling in rarch_main_iterate - pass
'trigger' state around
2014-09-17 20:15:56 +02:00
twinaphex 82806dcd85 Hide away last BIND_PRESSED invocations with check_quit_key_func 2014-09-17 17:48:41 +02:00
twinaphex 3892c8326d Use macro functions to hide away some of the ugliness 2014-09-17 07:38:49 +02:00
twinaphex 92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex d8d9b35a57 (menu_driver.h) Fix relative paths 2014-09-17 00:36:31 +02:00
twinaphex 310438f15b Refactor away input_key_pressed_func 2014-09-17 00:29:47 +02:00
Higor Eurípedes 25b09cdc78 Fix typedef redefinition 2014-09-16 18:01:24 -03:00
twinaphex 7a66467161 Create macro BIND_PRESSED - wrapper around BIT64_GET 2014-09-16 18:08:44 +02:00
twinaphex a5e367d2f0 More of aforementioend 2014-09-16 09:48:47 +02:00
twinaphex d363bdf24e Take out frame_buf_show in menu_driver.h 2014-09-16 06:09:23 +02:00
twinaphex 5188b3cc56 (Menu) Don't need menu_type_is anymore in menu display drivers 2014-09-16 04:21:31 +02:00
twinaphex b857890d1e (Lakka) Fixes 2014-09-16 01:36:28 +02:00
twinaphex 272e4d41a1 Don't rely on retro_time_t typedef for menu_driver API 2014-09-16 01:29:33 +02:00
twinaphex fffed52892 Silence warning 'variable is used before its value is set' 2014-09-16 01:09:10 +02:00
twinaphex a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
Twinaphex 18e20b0975 Merge pull request #1023 from heuripedes/frontend
(frontend.c) Fix include
2014-09-16 00:27:59 +02:00
Jean-André Santoni 2836d19052 (Lakka) Display a black background if no png background supplied 2014-09-16 00:18:14 +02:00
Higor Eurípedes e15c683b44 (frontend.c) Fix include 2014-09-15 17:48:11 -03:00
twinaphex 46055eb47b (GLUI) Silence warnings 2014-09-15 22:29:30 +02:00
Twinaphex 994c2d6db5 Merge pull request #1022 from heuripedes/frontend-drivers
(frontend) Add support for frontend specific video drivers
2014-09-15 22:12:39 +02:00
twinaphex bbcf2e5eda (Menu) Implement stub functions for shader manager functions in menu_common_backend.c 2014-09-15 21:54:03 +02:00
Higor Eurípedes b6dd4df368 (frontend) Add support for frontend specific video drivers 2014-09-15 16:48:55 -03:00
twinaphex 5ad098cdf9 (GLUI) Turn box_message into char variable of fixed size 2014-09-15 20:02:50 +02:00
Twinaphex f89690a252 (GLUI) Silence warning 2014-09-15 18:26:56 +02:00
Higor Eurípedes 83b6aeb6cc Fix C++ build linkage 2014-09-15 13:14:19 -03:00
twinaphex 9e132a0c24 (Lakka) build fix 2014-09-15 17:32:05 +02:00
Twinaphex e1ddd908fe Merge pull request #1020 from lioncash/leak
Fix a few memory leaks
2014-09-15 17:31:24 +02:00
Lioncash d1f908b8f8 Fix a few memory leaks
Also guard against calloc failure in lakka_init.
2014-09-15 11:29:30 -04:00
Jean-André Santoni 353f7d2c1e (GLUI) Display message boxes 2014-09-15 12:36:52 +02:00
twinaphex a71b42e4b3 (RARCH_CONSOLE/RARCH_MOBILE) Add default playlist dir for consoles/mobile 2014-09-15 08:03:58 +02:00
twinaphex 756356870b (Menu) Refactor more code to menu_action.c 2014-09-15 07:52:08 +02:00
twinaphex 35cc778bb3 (Lakka) Implement setting cmd_trigger 2014-09-15 07:42:35 +02:00
twinaphex e53c7d590f (Lakka) Fix menu toggle 2014-09-15 07:38:28 +02:00
twinaphex 3c05bc4b52 (Menu) Disable going back to main menu when pressing menu toggle button
(will later be exposed again as a toggleable option)
2014-09-15 07:23:50 +02:00
twinaphex 48a44e8e64 (Menu) Take out RARCH_MENU_TOGGLE for old_input_state - no longer
needed
2014-09-15 07:08:17 +02:00
twinaphex 89676e8424 Add Playlist Directory path setting 2014-09-15 04:12:41 +02:00
Twinaphex 416307fcd3 (OSX) Add GLUI to OSX solution 2014-09-15 01:35:23 +02:00
twinaphex 696b1cdef8 (Menu) Refator common code into calls to menu_action_setting_apply 2014-09-15 00:34:00 +02:00
twinaphex 899e69f921 (Settings/menu) Add WITH_CMD to settings_data.c 2014-09-14 23:44:32 +02:00
Twinaphex af36280c79 (Menu) Buildfix for prototypes 2014-09-14 22:41:44 +02:00
twinaphex 3d689bd40f (Menu) Add SD_FLAG_EXIT to signal to the menu that we want to cleanly
exit out of the menu
2014-09-14 22:39:33 +02:00
twinaphex d6659cd4d6 (Menu) Use return value from backend_iterate 2014-09-14 21:56:29 +02:00
twinaphex eff9bf17a8 Reimplement menu toggle in menu - now remembers last menu
(Disp) Menu display drivers shouldn't influence control flow
of menu, so take this out and move menu toggle control flow
to menu_backend driver
instead
2014-09-14 18:07:00 +02:00
twinaphex aae73438de Simplify frontend.c entry functions 2014-09-14 16:36:15 +02:00
twinaphex 2284395c4d Get rid of frontend_loop 2014-09-14 16:29:09 +02:00
Twinaphex cb1eea1ec2 Add logging to main_entry_decide 2014-09-14 16:08:28 +02:00
twinaphex fe49a0fe40 Some control flow changes 2014-09-14 15:32:32 +02:00
twinaphex e9c865f56a Create main_entry_decide to delegate decisionmaking process of
what to bind frontend_loop to
2014-09-14 15:23:40 +02:00
twinaphex 2d64c7aa8f (Menu) Uniquely name png_texture_load in lakka and glui 2014-09-14 15:17:03 +02:00
Twinaphex da977ed676 Merge pull request #1010 from lakkatv/lakka
(GLUI) Display a background image if found
2014-09-14 13:51:37 +02:00
Jean-André Santoni 54f2953608 (GLUI) Display a background image if found 2014-09-14 10:32:35 +02:00
twinaphex 295434151b (D3D) Change dir to gfx/d3d 2014-09-14 06:45:47 +02:00
twinaphex 259d75fa6e (GLUI) Fix Savestate load/save and resume 2014-09-14 05:57:53 +02:00
Lioncash 3912b3fee4 retroarch_logger: Append the calling function name to the log message.
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
Jean-André Santoni 07e57aa1f9 (GLUI) Fixes black overlay and some positionning 2014-09-13 22:45:38 +02:00
Twinaphex 4b9f85fe37 (GLUI) Refactor code 2014-09-13 06:25:41 +02:00
Jean-André Santoni 8172a0ff59 (GLUI) Fix missing quit entry 2014-09-13 04:28:01 +02:00
Jean-André Santoni 4920af94f5 (GLUI) Adapt to font size 2014-09-13 04:21:48 +02:00
Jean-André Santoni 42e15bea37 (GLUI) Use two column layout 2014-09-13 03:58:26 +02:00
Jean-André Santoni a67a9f0a61 (GLUI) Use two column layout 2014-09-13 03:56:59 +02:00
Jean-André Santoni 0839b1f41c (GLUI) Allow use of non monospaced fonts 2014-09-13 03:34:59 +02:00
Higor Eurípedes 91fea130eb (Lakka) Shut valgrind up 2014-09-12 17:26:26 -03:00
Higor Eurípedes 85cef84bd4 (driver.c) Add driver_video_resolve()
This function returns the real video driver data when threaded video is
in use.
2014-09-12 17:26:26 -03:00
Higor Eurípedes d6de5773b5 (Lakka) Make some globals static 2014-09-12 17:26:26 -03:00
twinaphex 01c9d033ae (GX) Build fixes 2014-09-12 22:12:41 +02:00
Twinaphex 49052ee6a8 Merge pull request #986 from timostrunk/zip_support
Zip support and Fixes
2014-09-12 21:36:36 +02:00
Higor Eurípedes 48f4a96605 (Lakka) Stop initialization if gl is not active 2014-09-12 14:42:59 -03:00
twinaphex b65e16254c (D3D) Go through wrapper for SetViewport 2014-09-12 18:01:32 +02:00
Timo Strunk 6386bfdb14 Menu now loads file from carchive correctly in the cases of deferred core and the standard case (like MENU_FILE_PLAIN) 2014-09-12 17:52:16 +02:00
Timo Strunk 8d3e89cc7e Use pathname_short representation in menu_entries.c to allow for correct viewing of compressed paths in history list 2014-09-12 17:49:31 +02:00
Timo Strunk 11b63cbe3d Merge remote-tracking branch 'upstream/master' into zip_support 2014-09-12 17:06:41 +02:00
twinaphex a4e6af8234 (GLUI) Take out '>' for selected item 2014-09-12 07:19:09 +02:00
Twinaphex 0e2282185f Merge pull request #983 from lioncash/derefs
Fix some more possible null pointer dereferences
2014-09-12 06:49:07 +02:00
twinaphex 85f0db5bad (Menu) Create menu_action_setting_driver and have Lakka and RGUI both
use it
2014-09-12 06:46:43 +02:00
Lioncash be12253243 Fix some more possible null pointer dereferences 2014-09-12 00:30:53 -04:00
twinaphex 33750bc046 (Lakka) Indent/style nits 2014-09-12 06:29:39 +02:00
twinaphex f5e523a8c3 Refactor/rename menu_action.c functions 2014-09-12 06:04:02 +02:00
twinaphex 050a6b9571 (Lakka) Only perform menu actions if MENU_ACTION_LEFT/MENU_ACTION_RIGHT/
MENU_ACTION_START/MENU_ACTION_OK is pressed
2014-09-12 05:57:27 +02:00
twinaphex 4a14658278 (Menu) Split up reusable menu_action code to menu_action.c 2014-09-12 05:54:58 +02:00
Twinaphex 81073c96ef Merge pull request #982 from lioncash/deref
Squash some more potential null pointer dereferences
2014-09-12 05:26:50 +02:00
Lioncash 64272ef327 Squash some more potential null pointer dereferences 2014-09-11 23:04:02 -04:00
twinaphex d96de429ea (Menu) Add RARCH_CMD_LOAD_CONTENT_PERSIST 2014-09-12 05:01:24 +02:00
twinaphex 550ebc0e49 (Menu) Fix case where we load content with 'Load Content' 2014-09-12 04:09:01 +02:00
Twinaphex fd001f6b52 Merge pull request #975 from lioncash/realloc
settings_data: Guard against possible realloc/malloc failures
2014-09-12 02:25:14 +02:00
Lioncash 8cf195868e settings_data: Guard against possible realloc/malloc failures 2014-09-11 20:21:11 -04:00
twinaphex 2263f86b26 Refactor load_menu_content 2014-09-12 01:12:22 +02:00
twinaphex 80998b0da3 (platform_xdk) Reinsert missing exit label 2014-09-12 00:08:29 +02:00
Jean-André Santoni 8b01b78123 (Lakka) Allow editing some boolean, uint and float settings 2014-09-11 22:07:41 +02:00
Timo Strunk 1e44a4056c Merge remote-tracking branch 'upstream/master' into zip_support 2014-09-11 18:03:34 +02:00
Lioncash 4e0b25d0fc Remove some dead stores 2014-09-11 09:30:40 -04:00
twinaphex 75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex f1ccf07603 (Menu) Add type MENU_FILE_DRIVER 2014-09-11 06:28:52 +02:00
twinaphex 35dd24654f (menu_entries.c) do menu_build_scroll_indices always at the end
of the menu_parse_and_resolve function
2014-09-11 06:20:10 +02:00
twinaphex 088f8c2497 (Menu) Refactor driver settings 2014-09-11 06:11:50 +02:00
twinaphex 66a1c32028 (Menu) Fix video_font_path option 2014-09-11 05:48:35 +02:00
twinaphex ee24b40c1a (GLUI) Fix warnings 2014-09-11 04:42:31 +02:00
Jean-André Santoni 075659723f (GLUI) Fix disp_set_label 2014-09-11 04:22:30 +02:00
Twinaphex 57dd0c3ad6 Merge pull request #969 from lakkatv/glui
(GLUI) GL based RGUI display driver clone
2014-09-11 04:12:59 +02:00
Jean-André Santoni 5e433abf8b (GLUI) GL based RGUI display driver clone 2014-09-11 04:07:07 +02:00
twinaphex 5bc3e3ea0a (Menu) menu_entries.c - Cast file_type to menu_file_type_t 2014-09-11 02:09:04 +02:00
twinaphex 7b27cda61b (RMenu) Build fix 2014-09-11 01:59:28 +02:00
twinaphex 30b31e3c45 (Menu/Disp) Fix core name representation 2014-09-11 01:57:25 +02:00
twinaphex 973004bee3 (menu_common_backend.c) Refactor duplicate code 2014-09-11 01:23:20 +02:00
Twinaphex 307c552b2a Merge pull request #968 from lakkatv/lakka
(Lakka) Savestate switching
2014-09-11 00:38:26 +02:00
Jean-André Santoni 0301b924ca (Lakka) Savestate switching 2014-09-11 00:09:53 +02:00
Twinaphex e945192c35 Merge pull request #967 from lakkatv/lakka
(Lakka) Fix subitems allocation
2014-09-10 23:16:03 +02:00
Jean-André Santoni eb2c735ba3 (Lakka) Fix subitems allocation 2014-09-10 23:13:19 +02:00
twinaphex 176951cc5f (Menu) Add more MENU_FILE_* types 2014-09-10 20:59:16 +02:00
twinaphex 3af183dfe3 (Menu) Create two new types - MENU_FILE_SHADER and MENU_FILE_SHADER_PRESET 2014-09-10 18:36:35 +02:00
twinaphex 0eea8307a5 (Menu) Refactor common code in disp/rgui | rmenu | rmenu_xui 2014-09-10 18:26:02 +02:00
twinaphex 05f32cdcfc (Menu) Add MENU_FILE_DIRECTORY type to switch 2014-09-10 17:24:02 +02:00
twinaphex 0cbb85915f (Menu) Refactor menu_action_ok 2014-09-10 17:11:24 +02:00
Jean-André Santoni 684af29c06 (Lakka) Use setting_data_get_string_representation 2014-09-10 14:38:41 +02:00
Jean-André Santoni 2aa628d935 (Lakka) First subitem bugfix 2014-09-10 10:58:02 +02:00
Timo Strunk 5b2edff6f0 This commit removes zip from the default valid_extensions. Please review this commit before merging to master. 2014-09-10 10:31:12 +02:00
Twinaphex 916367e686 (OSX) Add HAVE_LAKKA to OSX solution 2014-09-10 04:53:07 +02:00
Twinaphex 857457a615 Merge pull request #965 from lioncash/unused
lakka: Fix a few bugs
2014-09-10 04:33:22 +02:00
Lioncash f64638567f lakka: Fix a few bugs
- Previously it would attempt to print the pointer, not the actual value in a few sprintf statements.
- Change integer to unsigned_integer for the %u sprintf call.
- Initialize jj to zero so that it doesn't get used uninitialized.
2014-09-09 22:29:17 -04:00
Twinaphex 472f682982 Merge pull request #964 from lioncash/unused
lakka: Remove unused variables
2014-09-10 04:15:59 +02:00
Lioncash af42c1b2d7 lakka: Remove unused variables 2014-09-09 22:02:10 -04:00
Jean-André Santoni dee1890d9a (Lakka) Handles cores that support no games 2014-09-10 01:49:51 +02:00
Jean-André Santoni 34368ad886 (Lakka) Display settings, read only for now 2014-09-09 22:59:27 +02:00
twinaphex 5b476460d8 Style / indent nits 2014-09-09 18:31:44 +02:00
twinaphex 8e27d23bd5 Style / indent nits 2014-09-09 17:25:05 +02:00
twinaphex 641ba534e4 (360) More build fixes 2014-09-09 06:25:52 +02:00
twinaphex 4835f1df53 (Menu) Refactor menu_update_libretro_info 2014-09-09 05:40:53 +02:00
twinaphex cfd576239d (RGUI) Cleanups 2014-09-09 04:04:12 +02:00
twinaphex 590a1c2434 - Refactor menu_entries_push_list
- Add SD_FLAG_PUSH_ACTIOn
2014-09-09 03:32:06 +02:00
twinaphex 4790ffda7d - Refactor menu_entries.c code
- Create SD_FLAG_ALLOW_INPUT
2014-09-09 02:49:11 +02:00
twinaphex aa8badac31 Refactor Video Options in menu_entries.c 2014-09-09 01:49:42 +02:00
twinaphex abb5c37a18 (Menu) Refactor more code in menu_entries_push_list 2014-09-09 01:35:36 +02:00
twinaphex 772a480d61 (menu_entries.c) Refactor Driver Options as well 2014-09-09 01:23:43 +02:00
twinaphex 3e2ab80aa2 (Menu) Start refactoring menu_entries code 2014-09-09 01:20:17 +02:00
Twinaphex c315495fa8 Merge pull request #957 from lakkatv/lakka
(Lakka) Start implementing settings
2014-09-09 00:26:25 +02:00
twinaphex 80161051c6 (Disp drivers) Set w to 19 by default so more can fit onscreen 2014-09-09 00:25:12 +02:00
Jean-André Santoni 21236b0aa0 (Lakka) Start implementing settings 2014-09-09 00:08:25 +02:00
twinaphex c329501e2f (Menu) Refactor hardcoded input settings 2014-09-08 22:30:09 +02:00
twinaphex 1c1194cdca (Menu) Refactor two input settings 2014-09-08 22:12:22 +02:00
twinaphex b42ed89d23 Show License in Core Information menu 2014-09-08 20:18:36 +02:00
twinaphex 9f25746100 (menu_common_backend.c) cleanups 2014-09-08 19:53:42 +02:00
twinaphex 3709e524bc (Menu) Move settings data descriptions to settings_data.c 2014-09-08 06:12:43 +02:00
twinaphex b55e8d1eb1 (Menu) Refactor input bind label code 2014-09-08 05:31:43 +02:00
twinaphex 99f057efd6 Revert "(menu_common_shader_backend.c) Cleanups"
This reverts commit 193e0ad77a.
2014-09-08 04:51:25 +02:00
twinaphex c2ec82b996 (Input) Add two input options - input_duty_cycle/input_turbo_period 2014-09-08 03:34:36 +02:00
twinaphex 193e0ad77a (menu_common_shader_backend.c) Cleanups 2014-09-08 02:38:02 +02:00
Timo Strunk 84577c1b93 Folders in 7zip archives are now correctly displayed in RGUI. 2014-09-07 17:15:02 +02:00
twinaphex 65a2b0c900 Move/rename menu_update_system_info to rarch_update_system_info 2014-09-07 07:12:10 +02:00
twinaphex bbc03fe14d (Menu) Refactor 2014-09-07 06:43:20 +02:00
twinaphex 88b77df234 (Menu) Create setting_data_get_label and move code from menu_common_backend.c
to settings_data.c
2014-09-07 06:00:41 +02:00
Higor Eurípedes f9206a5419 (Lakka) Coding standard compliance fixes 2014-09-06 22:59:27 -03:00
Higor Eurípedes a583a1b941 (Lakka) Fix directory list memleak 2014-09-06 22:56:30 -03:00
Higor Eurípedes 5ba310918d (Lakka) Avoid invalid read and properly deinitialize sub menu items 2014-09-06 22:50:04 -03:00
Higor Eurípedes 3bcac616f7 (Lakka) Fix invalid read 2014-09-06 22:37:39 -03:00
Higor Eurípedes 1833467c2c C++ build fixes 2014-09-06 22:14:09 -03:00
Higor Eurípedes 8214f22761 (Lakka) Remove strange ampersand operator usage 2014-09-06 21:56:47 -03:00
twinaphex 19784d8944 Merge branch 'master' of https://github.com/libretro/RetroArch 2014-09-06 22:11:34 +02:00
twinaphex 707b954947 Move menu_save_new_config to rarch_main_command 2014-09-06 22:11:23 +02:00
Twinaphex c2ef81f542 Merge pull request #952 from timostrunk/compressed_file_menu
Compressed file menu
2014-09-06 22:11:03 +02:00
twinaphex fface89461 Move/rename menu_replace_config to retroarch.c (rarch_replace_config) 2014-09-06 22:05:33 +02:00
twinaphex 2c61fdcc7f (Menu) Refactor away load_menu_content_prepare 2014-09-06 21:52:44 +02:00
twinaphex fdbe3337c2 Take out some unnecessary includes 2014-09-06 21:52:44 +02:00
Timo Strunk 3a1626f3cf Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 21:04:13 +02:00
Timo Strunk 3b7dc34c1a Made GUI react on compressed files and give them a different label in RGUI 2014-09-06 21:03:22 +02:00
Timo Strunk 69389a4f6d Removed forgotten debug output from menu_entries.c 2014-09-06 20:59:55 +02:00
Timo Strunk 477eb802f7 Added new MENU_FILE_ types and made the menu recognize them. Also set MENU_FILE_ type by RARCH_FILE type 2014-09-06 20:56:14 +02:00
Higor Eurípedes a0de5b03b5 (Lakka) Solve some memory leaks 2014-09-06 14:28:53 -03:00
Higor Eurípedes e7d0603a41 (Lakka) Use PATH_MAX-sized variables to store file paths 2014-09-06 14:17:20 -03:00
Higor Eurípedes 6b3cf20345 (Lakka) Shut valgrind up 2014-09-06 14:09:07 -03:00
Timo Strunk 38fec68fe9 Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 17:51:54 +02:00
Floréal Toumikian 1f396357ff Fixed Lakka menu 2014-09-06 15:05:50 +02:00
Timo Strunk 278799c227 Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 08:43:14 +02:00
Twinaphex 6fdc22eb0b Merge pull request #943 from lioncash/printf-fmt
Fix some printf specifiers to the correct signed-ness
2014-09-06 03:40:26 +02:00
twinaphex 24500dfeb5 (Android) Build fixes 2014-09-06 03:39:37 +02:00
twinaphex c0346f616b (RGUI) Dehardcode RGUI_TERM_START_X/START_Y 2014-09-06 03:21:57 +02:00
twinaphex 4e0a622e9e (RGUI disp) Dehardcode 15 magic number 2014-09-06 03:17:51 +02:00
twinaphex dcbe6cd42f (Menu) Make more functions static that aren't used outside 2014-09-06 03:03:46 +02:00
twinaphex a3443a7911 (Menu) Refactor ST_PATH settings 2014-09-06 02:47:31 +02:00
Lioncash ab1ab62a6d Fix some printf specifiers to the correct signed-ness 2014-09-05 19:43:32 -04:00
twinaphex 7e6aa11c5b (Menu) Fix Shader Preset Save As option 2014-09-06 01:34:05 +02:00
twinaphex 780688ec92 (Menu) Refactor netplay_tcp_udp_port setting with MENU_FILE_LINEFEED 2014-09-06 00:16:05 +02:00
twinaphex 5793042b7d (Menu) Add MENU_FILE_LINEFEED 2014-09-06 00:12:58 +02:00
twinaphex 125f256c5e (Menu) Refactor menu_content_history_push_current 2014-09-05 19:56:23 +02:00
twinaphex 1111bd2f6d (Menu) Move early return when core is a dummy to menu_history_push_current
function
2014-09-05 18:21:03 +02:00
twinaphex e4681e0013 Make it possible to compile without HAVE_MENU defined 2014-09-05 18:14:00 +02:00
twinaphex a66b16c862 (frontend.c) Cleanup non-HAVE_MENU codepath 2014-09-05 18:05:46 +02:00
twinaphex e29865ddc0 (Emscripten) Fix emscripten_mainloop 2014-09-05 16:39:38 +02:00
Twinaphex 6a9b37e8fd (Apple) Fix do_iteration 2014-09-05 16:38:58 +02:00
twinaphex 4569b4f32c Refine frontend_loop some more 2014-09-05 16:34:37 +02:00
twinaphex 1426e705c9 (Frontend) Go through frontend_loop function pointer 2014-09-05 16:08:03 +02:00
twinaphex f495170f3a (frontend.c) Cleanups 2014-09-05 06:08:48 +02:00
twinaphex ca1066d60e Refactor CLEAR_INPUT 2014-09-05 05:57:27 +02:00
twinaphex 3dcb74ddbb (Menu) Combine get_description functions 2014-09-05 04:21:46 +02:00
twinaphex b02ce0ba62 Move Disk Options to main menu and rename it Core Disk Options 2014-09-05 03:52:35 +02:00
twinaphex f7e1cb870f (Menu) Immediately apply changes to shader parameters 2014-09-05 03:44:19 +02:00
twinaphex d72b368dc5 (Menu) Ugly hack but it gets the shader passes working again 2014-09-05 03:24:06 +02:00
twinaphex bf2e1a709d (Menu) Don't spam logs 2014-09-05 02:25:11 +02:00
twinaphex 030977b020 (Menu) Refactor menu shader passes - shader pass needs to be
fixed still
2014-09-05 02:24:01 +02:00
twinaphex 9913edc365 (Menu) Refactor shader pass string representation 2014-09-05 00:41:03 +02:00
twinaphex 082b22e670 (Menu) Rename video_shader_passes to video_shader_num_passes 2014-09-05 00:29:33 +02:00
twinaphex 7bf45b23e9 (Menu) Fix shader parameters 2014-09-05 00:13:50 +02:00
twinaphex dd3c6588ea (Menu) Fix shader label representation 2014-09-04 23:54:38 +02:00
twinaphex 222cc772e7 (Menu) Fix FILE_MENU_SWITCH label width 2014-09-04 21:49:00 +02:00
Timo Strunk 76d62ae7fc Restores isdirectory functionality in all guis again 2014-09-04 21:46:14 +02:00
twinaphex 855fd29404 (Menu) Don't spam logs 2014-09-04 21:43:52 +02:00
twinaphex 609ccb80d2 (Menu) Refactor video_shader_preset 2014-09-04 21:43:07 +02:00
twinaphex b117a09697 (Menu) Refactor SHADER_PRESET_SAVE 2014-09-04 21:23:28 +02:00
twinaphex 447e65c6f4 (Menu) Refactor disk_index/disk_image_append settings 2014-09-04 21:19:02 +02:00
twinaphex f6625b4edf (Menu) Refactor MENU_DISK_OPTIONS 2014-09-04 21:11:53 +02:00
twinaphex d14effc3b0 (Menu) Refactor MENU_SETTINGS_CONFIG 2014-09-04 19:43:54 +02:00
twinaphex b98c74bf25 (Menu) Refactor MENU_SETTINGS_SHADER_OPTIONS 2014-09-04 19:34:28 +02:00
twinaphex 1404dd42d7 (Menu) Refactor MENU_SETTINGS_PATH_OPTIONS 2014-09-04 19:24:27 +02:00
twinaphex fb9c3f5555 (Menu) Refactor MENU_SETTINGS_OPTIONS 2014-09-04 19:20:14 +02:00
twinaphex 97c0ca344c (Menu) Refactor code to use menu_flush_stack_type 2014-09-04 19:15:24 +02:00
twinaphex 41d5db6727 disp/shared.h - use label instead of dir 2014-09-04 19:06:30 +02:00
twinaphex adf7794216 (Menu) Refactor MENU_SETTINGS_FONT_OPTIONS 2014-09-04 19:05:03 +02:00
twinaphex e77ba49b3a (Menu) Refactor MENU_SETTINGS_VIDEO_OPTIONS 2014-09-04 19:02:42 +02:00
twinaphex fac795f796 (Menu) Refactor MENU_SETTINGS_GENERAL_OPTIONS 2014-09-04 18:58:53 +02:00
twinaphex 7af2d2f31c (Menu) Set label width of 5 for MENU_FILE_SWITCH 2014-09-04 18:55:24 +02:00
twinaphex 3548a6551b (Menu) Refactor MENU_SETTINGS_DRIVERS 2014-09-04 18:50:03 +02:00
twinaphex 56d59d3bcf (Menu) Refactor MENU_SETTINGS_INPUT_OPTIONS 2014-09-04 18:46:29 +02:00
twinaphex a0d32b50ae (Menu) Default width of label to 21 by default instead of going
through complicated type heuristics
2014-09-04 18:40:12 +02:00
twinaphex 497e497c3f (Menu) Refactor MENU_SETTINGS_AUDIO_OPTIONS 2014-09-04 18:37:31 +02:00
twinaphex 6116fb4b33 (Menu) Refactor MENU_SETTINGS_CORE_OPTIONS 2014-09-04 18:15:58 +02:00
twinaphex b6b5896bab (Menu) Refactor MENU_SETTINGS_OVERLAY_OPTIONS 2014-09-04 18:12:14 +02:00
twinaphex 8366ea976b (Menu) Refactor MENU_SETTINGS_PRIVACY_OPTIONS 2014-09-04 18:09:25 +02:00
twinaphex 7f34615a49 (Menu) Fix video_shader_pass setting 2014-09-04 17:45:02 +02:00
Twinaphex a2778cf77b Merge pull request #930 from lioncash/lakka
Small changes to lakka
2014-09-04 05:57:44 +02:00
Twinaphex 076596ae77 Merge pull request #932 from lioncash/null
Kill off some null comparisons with stack-allocated arrays
2014-09-04 05:57:02 +02:00
twinaphex 13fa0af01d (Menu) Remove MENU_CONTENT_HISTORY_PATH enum 2014-09-04 05:35:24 +02:00
twinaphex 9617121eab (Menu) Get rid of MENU_SETTINGS_OVERLAY_PRESET enum 2014-09-04 05:31:54 +02:00
twinaphex c61e552f08 (Menu) Get rid of performance counters enums 2014-09-04 05:27:47 +02:00
twinaphex eac82398a5 (Menu) Fix core_list action OK 2014-09-04 05:20:51 +02:00
twinaphex 288a4af1b0 (menu_common_backend.c) Cut down on code duplication 2014-09-04 05:18:42 +02:00
twinaphex 0f12c67054 (Deferred core) Fix direct loading of deferred core 2014-09-04 05:10:44 +02:00
twinaphex ca9fd4bc81 (Deferred Core) Fixed deferred core 2014-09-04 04:54:30 +02:00
twinaphex c3606c2905 (RMenu) Cut down on rmenu files' label representation 2014-09-04 04:45:43 +02:00
twinaphex 21e85d1a17 (Menu) Deferred core list shows up again - correct core propagating
doesnt' though
2014-09-04 04:34:03 +02:00
twinaphex 4beeec62be (Menu) Move up detect_core_list else 2014-09-04 04:20:22 +02:00
twinaphex cf245d7440 (Detect Core) Now shows all extensions again - next step- getting
deferred core list working again
2014-09-04 04:13:57 +02:00
twinaphex 2da1924a57 Revert "(Menu) Change label detect_core_list to deferred_core_list for consistency"
This reverts commit 47d8bd8882.
2014-09-04 04:10:41 +02:00
twinaphex 60b4ce81cf (Menu) Fix core name representation in core list 2014-09-04 03:58:00 +02:00
Lioncash f21c4c485e Kill off some null comparisons with stack-allocated arrays 2014-09-03 21:55:30 -04:00
twinaphex 47d8bd8882 (Menu) Change label detect_core_list to deferred_core_list for consistency 2014-09-04 03:55:00 +02:00
twinaphex 13b85a3458 (Menu) Add MENU_FILE_CORE 2014-09-04 03:40:48 +02:00
twinaphex 2bec746d28 Cleanup code in disp/rgui.c to do with menu entry types 2014-09-04 03:36:19 +02:00
twinaphex d94a5e6eca (Menu) Refactor all ST_DIR settings - take out all enums for them -
should fix the "Use Directory" option
2014-09-04 03:31:44 +02:00
twinaphex 025105a2f5 (Menu) Properly set MENU_FILE_DIRECTORY for actual dirs - now
need to refactor all the ST_DIR settings in menu_common_type_is
so that 'Use this directory' functionality only shows up for ST_DIR
settings again
2014-09-04 02:55:00 +02:00
Lioncash 2c47dc171e lakka: Guard against the possibility of realloc failing 2014-09-03 20:54:12 -04:00
Lioncash 02a1d38912 lakka: Remove three unnecessary NULL checks.
These are already checked for after the initialization of themselves.
2014-09-03 20:52:31 -04:00
Lioncash 99443f5745 lakka: Fix a few missing NULL checks.
If these are ever NULL, we'd hit null pointer dereferencing.
2014-09-03 20:51:21 -04:00
Twinaphex 6f4af9c7f8 Merge pull request #929 from lioncash/null
menu_common: Remove unnecessary null check
2014-09-04 02:41:39 +02:00
Lioncash cf01bd0128 lakka: Remove unused variables 2014-09-03 20:20:04 -04:00
twinaphex 3452eb76e7 (Menu) refactor menu_action_ok 2014-09-04 02:15:06 +02:00
Lioncash 49d6d34f27 menu_common: Remove unnecessary null check 2014-09-03 20:07:28 -04:00
twinaphex c5ebf22bfc (Menu) Refactor menu_action_ok 2014-09-04 02:03:34 +02:00
twinaphex 3afc55f445 (Menu) Refactor more settings 2014-09-04 01:00:11 +02:00
twinaphex 5ef289fe28 (Menu) Refactor more hardcoded enums 2014-09-04 00:25:19 +02:00
twinaphex a72a866db3 (Menu) Remove MENU_SETTINGS_CORE enum 2014-09-04 00:18:26 +02:00
twinaphex d5956f768b (Menu) Dehardcode MENU_SETTINGS_CORE_INFO 2014-09-03 23:47:24 +02:00
twinaphex a88198a12e (Menu) Get rid of hardcoded MENU_SETTINGS_PERFORMANCE_COUNTERS enum 2014-09-03 22:04:46 +02:00
twinaphex 836124c217 (Menu) Create menu_entries_get_description 2014-09-03 21:26:05 +02:00
twinaphex a03d1475f9 (Menu) Refactor hardcoded APPLY_SHADER_CHANGES enum 2014-09-03 21:18:01 +02:00
twinaphex 8600b6dd8c (Menu) menu_action_ok - cleanup 2014-09-03 20:57:50 +02:00
twinaphex a7d2bd33e7 (settings_data.c) MSVC build fixes 2014-09-03 20:24:06 +02:00
twinaphex eb58f977fd (Rmenu XUI) Cleanups 2014-09-03 19:35:45 +02:00
twinaphex 37b74e512e (platform_android.c) Refactor direct manipulation of lifecycle state 2014-09-03 18:50:43 +02:00
twinaphex d539bed82c Hide more manipulation of lifecycle_state behind rarch_main_set_state
function
2014-09-03 18:36:46 +02:00
twinaphex ba8f817587 (Frontend) Go through rarch_main_command 2014-09-03 17:01:06 +02:00
twinaphex 5a5d58d8e8 Refactor more direct manipulation of g_extern.lifecycle_state 2014-09-03 16:58:20 +02:00
twinaphex 74ddc9c3b7 Go through rarch_main_command instead of directly manipulating
g_extern.lifecycle_state
2014-09-03 16:55:56 +02:00
twinaphex 18b6ca3bf3 (Menu) Split off menu code into functions 2014-09-03 16:42:16 +02:00
twinaphex 4c38a3f1cb (Menu) Refactor code to cut down on code duplication 2014-09-03 16:32:02 +02:00
twinaphex 4252c3af18 (Menu) Refactor menu_update_system_info 2014-09-03 15:09:06 +02:00
twinaphex c92269dedf Move core_info/core_info_current to global 2014-09-03 14:57:29 +02:00
twinaphex 55aa477232 Move rarch_defer_core to retroarch.c 2014-09-03 06:23:44 +02:00
twinaphex 5574e00ae3 (Menu/General) Refactor rarch_defer_core 2014-09-03 05:59:16 +02:00
twinaphex 2eb350e6a2 (menu_input_line_cb.c) 80-char limit cleanups 2014-09-03 05:10:34 +02:00
twinaphex b57aca6f08 (Menu) Cleanups 2014-09-03 05:03:05 +02:00
twinaphex 584c276312 (Menu) Get rid of some unnecessary HAVE_OVERLAY ifdefs 2014-09-03 03:54:12 +02:00
twinaphex 948b031f52 (Menu) Don't spam log 2014-09-03 03:35:24 +02:00
twinaphex b1fe41f087 (Menu) Get rid of hardcoded enums for video/audio softplugs 2014-09-03 03:34:14 +02:00
twinaphex b68b4f13e6 (Menu) Get rid of OPEN_HISTORY enum 2014-09-03 03:16:40 +02:00
twinaphex 98c5e73d81 (Menu) Rewrite menu_action_ok shader options 2014-09-03 03:04:06 +02:00
twinaphex 94d765c409 (Menu) Set video_shader_pass label properly 2014-09-03 02:22:32 +02:00
twinaphex 865f812644 (Menu) Refactor more code in menu_action_ok to not be dependent
on menu setting IDs
2014-09-03 02:05:52 +02:00
twinaphex 71deb904d4 (Menu) Create shared.h that is used for rgui/rmenu/rmenu XUI - removes
duplicate code
2014-09-03 01:51:29 +02:00
twinaphex 6bc7e3452e (Menu) Refactor menu_action_ok for ST_DIR settings 2014-09-03 01:33:28 +02:00
twinaphex aa21cfda0e (Menu) Get rid of more hardcoded enums 2014-09-03 01:14:29 +02:00
twinaphex 223e062b66 (Menu) Correctly propagate label for ST_PATH settings 2014-09-03 00:49:30 +02:00
twinaphex bc1358a021 Refactor load_menu_content_history 2014-09-03 00:14:02 +02:00
twinaphex bc611b8cc1 (Menu) Add MENU_FILE_PLAYLIST_ENTRY 2014-09-02 23:42:40 +02:00
twinaphex bee41d6416 Cleanups - 80-char limit 2014-09-02 17:42:44 +02:00
twinaphex 76591ecc9f (frontend.c) build fix - missing return statement 2014-09-02 17:24:52 +02:00
twinaphex af3e648a42 (frontend.c) Get rid of some extraneous elses in frontend.c 2014-09-02 17:13:43 +02:00
twinaphex d36a4c5257 Cleanups - 80-char limit, C-style comments 2014-09-02 16:03:17 +02:00
twinaphex 9bd3800ca0 Dehardcode driver.menu->menu_stack in menu_entries too 2014-09-02 15:25:53 +02:00
twinaphex ab49946c29 (Menu) Make list passing to menu_entries.c possible 2014-09-02 15:15:29 +02:00
twinaphex 4a2d3cbd4b Cleanups - 80-char limit 2014-09-02 05:32:04 +02:00
twinaphex fda6876983 (Menu) Cleanups 2014-09-02 03:48:10 +02:00
twinaphex 02ba4fc8af (Menu) Get rid of defer_decision static functions 2014-09-02 03:24:05 +02:00
twinaphex 5664c6d6eb (menu_common_backend.c) don't do early return if driver.menu is
NULL (won't happen with this backend driver)
2014-09-02 01:32:42 +02:00
twinaphex e8ef19a663 (Menu) Get rid of info_selection member 2014-09-01 23:45:08 +02:00
twinaphex c9f8ea5049 (file_list.c) Add label set/get 2014-09-01 23:40:23 +02:00
twinaphex 236920a641 (Menu) Clean up code 2014-09-01 21:00:48 +02:00
twinaphex 75d21299c3 (Menu) Move MENU_FILE_PLAIN/MENU_FILE_DIRECTORY label setting to
display driver
2014-09-01 20:48:52 +02:00
twinaphex 8af1a77e5a (Menu) Move MENU_SETTINGS_SHADER_PRESET_SAVE action 2014-09-01 20:40:11 +02:00
twinaphex 8dbd5f544f (Menu) Move more settings 2014-09-01 20:32:48 +02:00
twinaphex b85ba22d7f (Menu) Refactor menu_settings_iterate 2014-09-01 20:19:27 +02:00
twinaphex c9462b6959 (Menu) Move setting from menu_setting_set to menu_setting_start_toggle 2014-09-01 19:44:14 +02:00
twinaphex 3bd57e6336 (Lakka) Build fix 2014-09-01 19:37:00 +02:00
twinaphex 0ffd9d8c4f (Lakka disp) Add some more checks to gl->shader->use 2014-09-01 19:35:10 +02:00
twinaphex a79e403273 (Menu) Create menu_setting_start_toggle 2014-09-01 18:50:20 +02:00
twinaphex 4153190c56 (Menu) Refactor menu_setting_set 2014-09-01 18:36:19 +02:00
twinaphex 30b3597ca3 (Menu) Cleanup some unused variables 2014-09-01 18:15:12 +02:00
twinaphex 4e5981f9dd (Menu) Cleanups 2014-09-01 18:09:53 +02:00
twinaphex fa3df82060 (Menu) Cleanups 2014-09-01 18:04:41 +02:00
twinaphex 7160a6d9f5 (Menu) Refactor menu_setting_toggle 2014-09-01 18:00:28 +02:00
twinaphex 903004113a (Menu) Cleanup 2014-09-01 17:48:33 +02:00
twinaphex 1531880940 (Menu) cleanups 2014-09-01 17:32:48 +02:00
twinaphex f6dfdf8783 (Menu) Cleanups 2014-09-01 17:30:19 +02:00