Commit Graph

454 Commits

Author SHA1 Message Date
twinaphex 7d93f63e6a Move menu_hash_to_file_type to msg_hash 2016-06-20 06:44:05 +02:00
twinaphex 2ebd6e6f49 Header cleanups 2016-06-20 06:34:30 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 8c75bc7618 Cleanups 2016-06-18 02:20:13 +02:00
twinaphex f76e7549ce Move more code over to menu_hash_to_file_type 2016-06-17 23:27:17 +02:00
twinaphex 14b0b75fe9 Move more code over to menu_hash_to_file_type 2016-06-17 23:24:15 +02:00
twinaphex 99f1d6123e Create menu_hash_to_file_type 2016-06-17 23:16:59 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex ea5f3d30e4 Fix missing breaks 2016-05-23 21:39:17 +02:00
twinaphex c72222b572 Remove menu_shader_free 2016-05-23 17:49:22 +02:00
Sebastien Ronsse d9884b486a menu driver: Fix memory leak occurring on exit 2016-05-23 12:09:58 +10:00
twinaphex 449c7483cd Rename content_playlist_ to playlist_ 2016-05-16 09:07:44 +02:00
Twinaphex 19afc807ef (iOS) Not sure why we are calling rarch_main() twice for iOS 2016-05-10 23:33:51 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 7ba97e8703 Remove core_info_ctl 2016-05-09 18:11:17 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
Hans-Kristian Arntzen 951c3e4085 De-ioctl menu display interface.
Holy crap ...
2016-05-08 12:38:46 +02:00
twinaphex 5c269d38a1 (content.c) Remove content_ctl 2016-05-08 05:17:31 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
Jean-André Santoni 7150ea5df2 (XMB) Finalize the thumbnail type switching on keypress 2016-04-28 03:26:09 +07:00
twinaphex 748f5dc74b (Nuklear/Zahnrad) Rename to 'nuklear' 2016-04-25 14:58:47 +02:00
twinaphex ab1c4d0c4d Header include cleanups 2016-03-22 03:49:05 +01:00
twinaphex 61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
Hans-Kristian Arntzen ef79734e7c Use same system as dynamic cores to get system info. 2016-03-21 22:58:13 +01:00
twinaphex ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex a82cc0d31f Remove MENU_INPUT_CTL_SET_FRAME_INPUT 2016-02-26 21:47:25 +01:00
twinaphex c31ef24412 Add MENU_INPUT_CTL_SET_FRAME_INPUT 2016-02-26 18:01:10 +01:00
twinaphex ac084a5175 Change typo 2016-02-25 23:40:27 +01:00
twinaphex 816539f9df (Zahrand) Rename wimp.c to zahrand 2016-02-25 21:29:38 +01:00
radius 1e31f06200 clone glui 2016-02-14 14:33:13 -05:00
twinaphex fed8570ec3 (Menu) Spacebar toggles 'RetroPad Start' action 2016-02-13 04:18:07 +01:00
Twinaphex 28ddefc467 Properly handle key down latch instead of hoky timer stuff 2016-02-12 08:10:35 +01:00
twinaphex 410e750d24 Style nits 2016-02-12 08:02:29 +01:00
twinaphex b9fde7bb24 (Windows) Windows likes autorepeating of keys too much - have to do
some ugly timer stuff here
2016-02-12 08:02:07 +01:00
Twinaphex cf4d31cd80 Shouldn't repeat keys now 2016-02-12 07:49:49 +01:00
twinaphex 37875fb242 Add MENU_CTL_*PENDING_ACTION 2016-02-12 07:30:34 +01:00
twinaphex 63d216ad1f (Menu controls) Keyboard 'Enter' does Retropad 'OK' and
Backspace does 'RetroPad Cancel'
2016-02-12 07:13:58 +01:00
twinaphex c6220a9e66 Reimplement rarch_task_push_content_load_default 2016-02-12 04:55:18 +01:00
twinaphex 7d00f945b8 Implement RARCH_MENU_CTL_IS_PENDING_QUICK_MENU, RARCH_MENU_CTL_SET_PENDING_QUICK_MENU, RARCH_MENU_CTL_UNSET_PENDING_QUICK_MENU 2016-02-12 04:28:09 +01:00
twinaphex 4364ce92c3 Create RARCH_MENU_CTL_LIST_GET_ENTRY 2016-02-11 01:12:19 +01:00
twinaphex b3944a21d5 Create RARCH_MENU_CTL_LIST_GET_SIZE 2016-02-11 01:07:30 +01:00
twinaphex 48e67d5546 Create RARCH_MENU_CT_LIST_GET_SELECTION 2016-02-11 00:59:55 +01:00
twinaphex 9e69551408 Add RARCH_MENU_CTL_BIND_INIT 2016-02-11 00:53:49 +01:00
twinaphex ddf5283ecd Cleanups 2016-02-11 00:47:00 +01:00
twinaphex 71507808c9 Create RARCH_MENU_CTL_LIST_FREE 2016-02-10 21:21:19 +01:00
twinaphex 84d64c4042 Add RARCH_MENU_CTL_DRIVER_DATA_GET 2016-02-10 21:15:23 +01:00
twinaphex 46750ff3e6 Cleanups 2016-02-10 21:01:55 +01:00
twinaphex 8620b4c33b Cleanups 2016-02-10 20:58:45 +01:00
twinaphex 96a6f8ec77 Cleanup 2016-02-10 20:40:39 +01:00
twinaphex 859a04e6ee Create RARCH_MENU_CTL_LIST_PUSH 2016-02-10 20:36:13 +01:00
twinaphex c9ec688a7e Cleanups 2016-02-10 20:29:17 +01:00
twinaphex f77722a213 Add RARCH_MENU_CTL_ENVIRONMENT 2016-02-10 20:19:21 +01:00
twinaphex b5e28cda58 Create RARCH_MENU_CTL_ITERATE 2016-02-10 20:13:12 +01:00
twinaphex 9db5d45361 Change return value to menu_driver_iterate 2016-02-10 20:08:10 +01:00
twinaphex e9e6fd7b80 (Menu) Implement pending shutdown 2016-02-10 19:56:35 +01:00
twinaphex 2df631a36f Add menu pending quit mechanism 2016-02-10 19:19:30 +01:00
twinaphex dd8d01a1cb Reorder this code a bit 2016-02-10 17:41:10 +01:00
Twinaphex c9c4c77d38 Prevent yet even more crashes - sigh 2016-02-10 17:18:06 +01:00
twinaphex 9b0034ccb2 Fix resolution toggle 2016-02-10 07:19:06 +01:00
twinaphex 9bb1127727 Add more state to RARCH_MENU_CTL_DEINIT 2016-02-10 07:17:26 +01:00
twinaphex 55927d5957 Better way to prevent crash 2016-02-10 06:51:47 +01:00
twinaphex b077113aff Prevent crash on calling RARCH_MENU_CTL_CONTEXT_DESTROY 2016-02-10 06:49:00 +01:00
twinaphex 99d21fd701 Implement RARCH_MENU_CTL_LIST_CACHE 2016-02-10 06:43:56 +01:00
twinaphex 23e48f1821 Add RARCH_MENU_CTL_LIST_INSERT 2016-02-10 06:38:57 +01:00
twinaphex f2952c530c Cleanups 2016-02-10 06:01:11 +01:00
twinaphex 788951958c Cleanups 2016-02-10 05:25:30 +01:00
twinaphex 85e0ab9a8e Cleanups 2016-02-10 05:23:33 +01:00
twinaphex 5164b8a058 Cleanups 2016-02-10 05:21:44 +01:00
twinaphex 0e017ea925 Cleanups 2016-02-10 04:22:59 +01:00
twinaphex 3763c6d4c0 Cleanups 2016-02-10 03:59:17 +01:00
twinaphex bb1fa17718 Cleanups 2016-02-10 03:53:20 +01:00
twinaphex efc580c071 (menu_driver.c0 Cleanups 2016-02-10 03:52:02 +01:00
twinaphex e0a29599f4 Cleanups 2016-02-10 03:49:47 +01:00
Twinaphex 8c910b73dc return true here 2016-02-10 03:35:13 +01:00
twinaphex dd0136e2d5 Refactor this code 2016-02-10 03:29:31 +01:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex f604afeede Create RARCH_MENU_CTL_FIND_DRIVER 2016-02-09 16:49:23 +01:00
twinaphex 5cd66a19b2 Create RARCH_MENU_CTL_INIT 2016-02-09 16:45:28 +01:00
twinaphex 486184d1eb Create MENU_DISPLAY_CTL_INIT/MENU_DISPLAY_CTL_DEINIT 2016-02-09 00:12:09 +01:00
twinaphex 490c023fe3 Add core_info_ctl actions 2016-02-07 02:37:57 +01:00
twinaphex 188029373f Header include changes 2016-02-05 14:00:27 +01:00
twinaphex 958860dea7 Remove obsolete static function 2016-02-04 20:47:34 +01:00
twinaphex d773dd8d45 Cleanups 2016-02-04 20:28:28 +01:00
twinaphex 2901c3c737 (menu_driver.c) 80-char width limit 2016-02-04 20:23:52 +01:00
twinaphex 543e680961 Rewrite menu_driver_list_free 2016-02-04 20:15:34 +01:00
twinaphex c039e4c6ab Make menu_driver_free a static function 2016-02-04 20:12:58 +01:00
twinaphex 5b74105add Set these static variables to NULL 2016-02-04 20:02:02 +01:00
twinaphex 32b9303a79 Create RARCH_MENU_CTL_LIST_SET_SELECTION 2016-02-03 17:15:00 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex f5b7add383 Cleanups 2016-01-30 05:21:05 +01:00
twinaphex 4f94e2b5d8 (Android) Fix APK assets extraction 2016-01-29 09:42:15 +01:00
twinaphex 68ea128cb5 Turn menu_init into static function 2016-01-26 21:04:05 +01:00
twinaphex f533a986c5 Minor nit 2016-01-26 20:41:13 +01:00
twinaphex 22bf74ff37 Start moving code to menu_content.c 2016-01-25 04:44:54 +01:00
twinaphex d085dae5bb Cleanups 2016-01-24 00:56:04 +01:00
twinaphex 48317e66b9 Create task_content.c - WIP 2016-01-24 00:40:34 +01:00
twinaphex 9256cd2fbc Start adding ways to extract only one file from a ZIP 2016-01-24 00:12:05 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 4995490588 N/A pt. 2 2016-01-21 19:27:48 +01:00
twinaphex bbb7d1ad52 N/A 2016-01-21 19:26:10 +01:00
twinaphex 2af842401b (menu) Cleanups 2016-01-21 19:21:09 +01:00
twinaphex 191ff2e6d0 Cleanups 2016-01-21 19:19:14 +01:00
twinaphex 6bf373a7c7 Divorce frontend_key_event from global variable 2016-01-21 01:52:02 +01:00
twinaphex fd99b9bfb3 Rename XUI files/defines 2016-01-12 09:23:17 +01:00
twinaphex a3994aea63 RMenu is obsolete now 2016-01-12 09:19:35 +01:00
twinaphex 4824ae0e04 Try to save current config at first startup 2016-01-12 00:51:54 +01:00
twinaphex 7c6865d0a9 N/A 2016-01-11 22:35:18 +01:00
twinaphex 0d14c588d2 Cleanups 2016-01-11 13:24:05 +01:00
twinaphex a6ef1a5a42 (iOS) Expand on iOS hack - turn off 'show start screen' after this
succeeds
2016-01-11 09:19:11 +01:00
Twinaphex cde99cc135 (iOS) Add hacks to get this working for now 2016-01-11 07:54:33 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex d146f717b8 fix bug 2015-12-26 09:14:13 +01:00
twinaphex 66449802e4 (menu) Start going through string_is_empty 2015-12-26 07:37:44 +01:00
ctult c1792fe84e bad griffin, breaking vita 2015-12-25 00:02:52 -07:00
ctult 7f3b3a2034 zlib-less compilation issue 2015-12-24 23:29:32 -07:00
ctult 0ff9efc0e3 whoops 2015-12-23 13:48:29 -07:00
ctult 5bb3ab4d45 Starting to clean up netplay code 2015-12-23 13:25:28 -07:00
thedax 8e3df09277 This memset should probably be done only for dynamic cores/builds. 2015-12-21 11:53:27 -05:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
Jean-André Santoni 0a6572eb83 Save content history diretly after its update 2015-12-16 09:28:08 +07:00
twinaphex e7749c5d42 Create RUNLOOP_CTL_KEY_EVENT_GET 2015-12-13 14:31:17 +01:00
twinaphex ebe3454969 Add RARCH_MENU_CTL_NAVIGATION_CLEAR 2015-12-12 23:40:25 +01:00
twinaphex 5e1390bb5a Add RARCH_MENU_CTL_CONTEXT_DESTROY 2015-12-12 23:36:43 +01:00
twinaphex 3f4b0012d3 Create RARCH_MENU_CTL_CONTEXT_RESET 2015-12-12 23:34:49 +01:00
twinaphex 825b259650 Cleanups 2015-12-12 23:33:02 +01:00
twinaphex d62a246ea8 Start adding RARCH_MENU_CTL_REFRESH 2015-12-12 17:25:03 +01:00
twinaphex 1004537e8d Create MENU_ENTRIES_CTL_SET_REFRESH/MENU_ENTRIES_CTL_UNSET_REFRESH 2015-12-12 02:14:50 +01:00
twinaphex fa535f788e Create MENU_ENTRIES_CTL_NEEDS_REFRESH 2015-12-11 21:41:59 +01:00
twinaphex a1112d64a0 Add MENU_ENTRIES_CTL_DEINIT 2015-12-11 21:37:11 +01:00
twinaphex f7d9c08de3 Add 'Extracting' message when extracting a bundle 2015-12-11 19:13:40 +01:00
twinaphex f9dfa403a9 Cleanup 2015-12-11 18:56:00 +01:00
twinaphex 4baea28be5 Get rid of unused variable 2015-12-11 15:41:29 +01:00
twinaphex 905577ea3b Cleanup 2015-12-11 15:40:13 +01:00
twinaphex 733d71ebd3 Create RARCH_MENU_CTL_TOGGLE 2015-12-11 15:39:19 +01:00
twinaphex 74015188a9 Cleanups 2015-12-11 15:28:16 +01:00
twinaphex 00b979ba67 Move userdata to menu_driver.c as static variable 2015-12-11 15:14:39 +01:00
twinaphex 9580dc5392 pass userdata handle to list_get_entry callback 2015-12-11 14:52:16 +01:00
twinaphex 9e383749ae Pass userdata handle to get_selection callback 2015-12-11 14:50:06 +01:00
twinaphex 2215aa2c87 (menu_driver.c) Pass userdata to free callback 2015-12-11 14:38:57 +01:00
twinaphex fa9f0a32e8 Create RARCH_MENU_CTL_POPULATE_ENTRIES 2015-12-11 14:34:47 +01:00
twinaphex 9e9e6bd8b4 Prevent crash 2015-12-11 14:30:57 +01:00
twinaphex adc359ec7a Pass more userdata handles to callbacks 2015-12-11 14:26:51 +01:00
twinaphex 159fe58926 Move core info list to runloop_ctl 2015-12-11 13:51:17 +01:00
twinaphex ab9c52e03e Remove unused local variables 2015-12-11 13:29:15 +01:00
twinaphex 65eeb3d836 Don't touch global->core_info.current from outside runloop.c 2015-12-11 13:24:14 +01:00
twinaphex 01ca22587a Move playlist variable to menu_driver_ctl as static local
variable
2015-12-11 13:08:30 +01:00
twinaphex 22b06f2d38 Don't reference menu->playlist outside menu_driver.c anymore 2015-12-11 13:06:24 +01:00
twinaphex 7b49964d39 Create RARCH_MENU_CTL_PLAYLIST_FREE 2015-12-11 13:01:39 +01:00
twinaphex 5ce356c3fc Add RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:40:59 +01:00
twinaphex c21c04d73b Create MENU_NAVIGATION_CTL_DEINIT 2015-12-11 11:57:43 +01:00
twinaphex 8ea64378f8 Create MENU_INPUT_CTL_DEINIT 2015-12-11 11:56:31 +01:00
twinaphex 45de6fe3b5 Create RARCH_DRIVER_CTL_SET_NONBLOCK_STATE 2015-12-11 11:04:16 +01:00
twinaphex 746b7dde73 Add memset to end of RARCH_MENU_CTL_SYSTEM_INFO_DENIT 2015-12-10 23:10:17 +01:00
twinaphex d7fd52b03f Make g_system_menu no longer a global 2015-12-10 23:08:34 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex 5fbfabab5b Divorce menu->shader from menu_handle_t 2015-12-10 20:12:08 +01:00
twinaphex aaf6d64432 Create RARCH_MENU_CTL_SHADER_DEINIT 2015-12-10 20:09:15 +01:00
twinaphex 8392d944e5 Create RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:56:08 +01:00
twinaphex 4202e9e9d3 Cleanup 2015-12-10 19:43:25 +01:00
twinaphex 65c59eb9f1 Cleanups 2015-12-10 19:38:46 +01:00
twinaphex d6538bb7ae Pass userdata pointer to list_insert callback 2015-12-10 19:08:28 +01:00
twinaphex b42149c826 Pass void pointers to list_push callback 2015-12-10 19:02:01 +01:00
twinaphex 8ef1e9c0b0 Cleanups 2015-12-10 17:26:29 +01:00
twinaphex 42643088f4 Refine earlier commit 2015-12-10 17:25:40 +01:00
twinaphex 78db1845dc Move data pointer to navigation_clear callback 2015-12-10 17:24:56 +01:00
twinaphex cfaca8439d Cleanups 2015-12-10 17:08:17 +01:00
twinaphex 18d3cb0649 Pass data to context_reset callback 2015-12-10 17:01:06 +01:00
twinaphex 02bac66c9e Pass userdata to context_destroy callback 2015-12-10 16:57:48 +01:00
twinaphex 71548e2e10 Pass userdata to toggle callback 2015-12-10 16:54:46 +01:00
twinaphex 19f0a23e7e load_image - add userdata handle 2015-12-10 16:51:59 +01:00
twinaphex 333ee443e3 Change pointer_tap callback 2015-12-10 16:26:40 +01:00
twinaphex 604cbc585f Pass userdata pointer to environ callback 2015-12-10 16:23:32 +01:00
twinaphex bd0a427df1 Pass userdata pointer to list_cache callback 2015-12-10 16:17:23 +01:00
twinaphex 87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +01:00
twinaphex d2c5139ab1 Revert "Add userdata pointer to frame callback"
This reverts commit ca9520a522.
2015-12-10 15:17:37 +01:00
twinaphex ca9520a522 Add userdata pointer to frame callback 2015-12-10 15:12:47 +01:00
twinaphex f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex 39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
twinaphex 5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +01:00
twinaphex 6664bf2522 Don't use menu_driver_get_ptr outside of menu/ files at all 2015-12-07 16:11:53 +01:00
twinaphex b0b35ba9e5 Remove more references to menu_driver_get_ptr outside of menu/ files 2015-12-07 16:00:48 +01:00
twinaphex 2daf9832a9 Create new function types 2015-12-07 15:54:06 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex 99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex bea3f938d9 RARCH_MENU_CTL_DESTROY: Make sure all static local variables are
set back to default state
2015-12-06 18:23:46 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex 88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
Twinaphex aac2ceba02 Don't set menu_driver_ctx yet to NULL at RARCH_MENU_CTL_DEINIT time 2015-12-05 14:03:39 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 66582c3f06 Move variables to menu_driver.c and turn them staticc 2015-12-05 13:13:49 +01:00
twinaphex 688ddcfd9e Rename the two variables 2015-12-05 13:09:27 +01:00
twinaphex d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex 841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00
twinaphex 3845df84ef Small buildfix 2015-12-05 13:01:15 +01:00
twinaphex 783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00