Commit Graph

4379 Commits

Author SHA1 Message Date
twinaphex 5a42b6ed0d Fix another statement is unreachable warning 2015-12-26 09:50:40 +01:00
twinaphex d146f717b8 fix bug 2015-12-26 09:14:13 +01:00
twinaphex 68d66be389 C89_BUILD fixes 2015-12-26 08:13:33 +01:00
twinaphex c53d1969f2 (menu_cbs_get_value.c) Use string_is_empty 2015-12-26 08:01:56 +01:00
twinaphex 66449802e4 (menu) Start going through string_is_empty 2015-12-26 07:37:44 +01:00
twinaphex e4fe757457 Fix up Lakka bug 2015-12-25 15:16:32 +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
Jean-André Santoni 5496eb5f68 (Lakka) Allow firmware upgrades from the menu. Step 1. 2015-12-25 02:13:50 +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
Twinaphex 9cf654367a (XMB) Fix memory leak 2015-12-23 13:47:53 +01: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
radius 788fd17031 fix some code formatting and include the label value too 2015-12-17 17:43:10 -05:00
radius 4024c9a8c6 Change the label when per-game options are in use 2015-12-17 17:26:11 -05:00
Jean-André Santoni 0a6572eb83 Save content history diretly after its update 2015-12-16 09:28:08 +07:00
Twinaphex 31086a0bdf Revert "(menu_setting.c) Fix double change callback call" 2015-12-16 03:14:10 +01:00
twinaphex b50350a711 Fix setting refresh rate from the menu 2015-12-13 21:28:06 +01:00
twinaphex e7749c5d42 Create RUNLOOP_CTL_KEY_EVENT_GET 2015-12-13 14:31:17 +01:00
Higor Eurípedes 4a452751e3 (menu_setting.c) Fix double change callback call 2015-12-13 10:24:17 -03:00
Higor Eurípedes 21cd17f987 (menu_displaylist) Fix leak while loading the history 2015-12-12 23:13:46 -03:00
Higor Eurípedes 9f3884a33e (menu_displaylist.c) Fix uninitialized value usage
opts did not get assigned when RUNLOOP_CTL_GET_CORE_OPTION_SIZE failed.
2015-12-12 22:40:39 -03:00
twinaphex 7ec6a66f12 Signed/unsigned issues 2015-12-13 01:45:22 +01:00
Higor Eurípedes f6421f9988 (XMB) Fix buffer overflow
It was introduced by 3df4101 . MENU_ENTRIES_CTL_START_GET and
MENU_ENTRIES_CTL_START_GET access size_t-sized data, but an
unsigned was passed.
2015-12-12 21:39:42 -03:00
twinaphex ecdecad963 Add MENU_DISPLAY_CTL_BLEND_BEGIN/MENU_DISPLAY_CTL_BLEND_END 2015-12-12 23:53:16 +01:00
twinaphex 8833ba1141 Create MENU_DISPLAY_CTL_FONT_FLUSH_BLOCK 2015-12-12 23:48:44 +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 1685ec1548 Update menu_cbs_deferred_push.c 2015-12-12 15:21:20 +01:00
twinaphex 2f108cb37b Cleanups 2015-12-12 15:12:47 +01:00
twinaphex c7f5192197 (menu_entries.c) Get rid of heap-allocated data structure 2015-12-12 14:55:17 +01:00
twinaphex 28e33acc66 Turn list_settings into static local variable 2015-12-12 14:49:02 +01:00
twinaphex 3df4101321 Get rid of menu_entries_set_start and menu_entries_get_start 2015-12-12 14:39:35 +01:00
twinaphex 75c6276ade Cleanups - move variables to menu_entries_ctl as static local variables 2015-12-12 02:17:39 +01:00
twinaphex 1004537e8d Create MENU_ENTRIES_CTL_SET_REFRESH/MENU_ENTRIES_CTL_UNSET_REFRESH 2015-12-12 02:14:50 +01:00
twinaphex 36ce2f1001 Cleanups 2015-12-12 00:22:02 +01:00
twinaphex 6cb8b7c8b1 Cleanups 2015-12-11 22:43:16 +01:00
twinaphex ee312b346b Create MENU_ENTRIES_CTL_SETTINGS_GET 2015-12-11 22:30:19 +01:00
twinaphex 7942328e39 Create MENU_ENTRIES_CTL_LIST_GET 2015-12-11 22:05:54 +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 fde4826754 Add MENU_ENTRIES_CTL_SHOW_BACK 2015-12-11 21:34:27 +01:00
twinaphex 352836a595 Add menu_entries_ctl 2015-12-11 21:32:00 +01:00
twinaphex 37aef67dae Cleanups 2015-12-11 21:24:51 +01:00
twinaphex 4c8c2ea30d Move typedef struct definition to menu_entries.c 2015-12-11 21:18:13 +01:00
twinaphex f5422de0d6 Expand extracting message a bit 2015-12-11 19:15: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 6ae5725373 Simplify usage of menu->userdata 2015-12-11 14:55:04 +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 4836fb06ba Cleanup unused variables 2015-12-11 13:57:26 +01:00
twinaphex a8590e656e Take out header include core_info.h from runloop.h 2015-12-11 13:56:00 +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 23f1bf63c0 Turn core_info_current into static local variable 2015-12-11 13:28:23 +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 3c28350b56 Replace menu->playlist references 2015-12-11 12:57:48 +01:00
twinaphex 6f42f4e0c6 Start using RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:46:08 +01:00
twinaphex 16ce520d34 Start using RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:44:58 +01:00
twinaphex 5ce356c3fc Add RARCH_MENU_CTL_PLAYLIST_GET 2015-12-11 12:40:59 +01:00
twinaphex 280281e644 menu_driver.h - Remove input_driver.h 2015-12-11 12:08:19 +01:00
twinaphex 3fa9abe3aa menu_driver.h - don't include menu_displaylist.h 2015-12-11 12:06:24 +01:00
twinaphex c282027b50 Cleanups 2015-12-11 12:02:21 +01:00
twinaphex fdf17808e0 Create MENU_ANIMATION_CTL_DEINIT 2015-12-11 12:00:49 +01:00
twinaphex 2d0a8ec9b5 Cleanups 2015-12-11 11:58:48 +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 1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
Twinaphex 47dbee7102 Merge pull request #2548 from lakkatv/master
(Menu) Use the alternative quickmenu for the history list. Step 1.
2015-12-11 10:17:32 +01:00
twinaphex a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
Jean-André Santoni 339082c153 (Menu) Use the alternative quickmenu for the history list. Step 1. 2015-12-11 16:13:18 +07: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 25f4b89f1f Indenting nits 2015-12-10 21:08:21 +01:00
twinaphex 2f3f335bc5 Get rid of unused variable 2015-12-10 21:07:33 +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 201f3e780a Cleanup 2015-12-10 20:07:10 +01:00
twinaphex 800b62e458 Cleanups 2015-12-10 20:05:00 +01:00
twinaphex b22e192bc5 Cleanups - go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 20:02:44 +01:00
twinaphex 77b623bdcd Go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:59:21 +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 ae995f6986 Cleanups 2015-12-10 18:49:26 +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 94248be657 Pass userdata variable to populate_entries 2015-12-10 16:45:38 +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 f0a8867487 (XMB) Refactors 2015-12-10 16:14:53 +01:00
twinaphex 08a9bdfc12 Cleanup 2015-12-10 16:10:21 +01:00
twinaphex f70acd4a64 Cleanups 2015-12-10 15:49:37 +01:00
twinaphex bf73abc753 Cleanups 2015-12-10 15:48:04 +01:00
twinaphex 46b5c5e79f (XMB) Cleanup 2015-12-10 15:47:08 +01:00
twinaphex bed86cc57e (XMB) Cleanup 2015-12-10 15:46:15 +01:00
twinaphex e44f6d5d81 Update RMenu XUI 2015-12-10 15:45:05 +01:00
twinaphex 87ff4d7d82 Pass userdata handle to frame callback 2015-12-10 15:44:26 +01:00
twinaphex 6db1a8eb0d Cleanups 2015-12-10 15:40:44 +01:00
twinaphex 6bff83478f (MUI) Cleanups 2015-12-10 15:33:10 +01:00
twinaphex 114bce9f0f (MUI) Cleanups 2015-12-10 15:31:17 +01:00
twinaphex 527f7c7266 (XMB) Cleanups 2015-12-10 15:28:05 +01:00
twinaphex a173b5a2bb Some more cleanups 2015-12-10 15:23:43 +01:00
twinaphex 14427dd725 (XMB) Cleanups 2015-12-10 15:21:20 +01:00
twinaphex fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +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 abc2315c78 Remove unused pointer 2015-12-10 14:52:34 +01:00
twinaphex b0a0a8d9a7 Cleanup one unused pointer 2015-12-10 14:52:02 +01:00
twinaphex 686bcf723d Move scroll_y to userdata 2015-12-10 14:50:43 +01:00
twinaphex f4695c7547 Pass userdata pointer to render callback 2015-12-10 14:45:34 +01:00
twinaphex 2930997c25 Pass userdata to messagebox callback 2015-12-10 14:40:56 +01:00
twinaphex f374e12143 Cleanup 2015-12-10 14:36:31 +01:00
twinaphex 02fb8dd052 Avoid warning 2015-12-10 14:03:34 +01:00
twinaphex a1b4ba9280 Cleanups 2015-12-10 14:00:28 +01:00
twinaphex 8acaa19d01 CLeanups 2015-12-10 13:48:41 +01:00
twinaphex 7274e6bc3e Cleanups 2015-12-10 12:37:24 +01:00
twinaphex f0e11659c7 Header include changes 2015-12-09 09:53:43 +01:00
twinaphex 3c765e30d3 Add RUNLOOP_CTL_GET_CORE_OPTION_SIZE 2015-12-09 09:37:54 +01:00
twinaphex fee5d2a880 Add RUNLOOP_CTL_HAS_CORE_OPTIONS 2015-12-09 09:34:19 +01:00
twinaphex 86c6848281 Fix CORE_OPTION_NEXT 2015-12-09 09:31:22 +01:00
twinaphex 99824bcad0 Move more code to do with core options to runloop.c 2015-12-09 09:21:49 +01:00
twinaphex 39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
twinaphex e6360627ab menu_cbs_right.c - cleanup 2015-12-08 15:20:44 +01:00
twinaphex 34dbd35642 Revert "Remove some unnecesary functions"
This reverts commit 1f13f26ba4.
2015-12-08 12:55:43 +01:00
twinaphex 1f13f26ba4 Remove some unnecesary functions 2015-12-08 11:21:57 +01:00
twinaphex 9f96742576 Take out some header includes 2015-12-08 09:30:44 +01:00
twinaphex df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex 1e522f4035 (Android) Start calling SET_STUB_FRAME for LOST_FOCUS/GAINED_FOCUS 2015-12-07 21:07:04 +01:00
twinaphex faad85e596 Create MENU_DISPLAY_CTL_SET_STUB_DRAW_FRAME/MENU_DISPLAY_CTL_UNSET_STUB_DRAW_FRAME 2015-12-07 20:57:24 +01:00
twinaphex 5ec501f934 move prevent_populate to menu_driver_ctl 2015-12-07 16:57:06 +01:00
Higor Eurípedes e56c8feec9 (menu_display.c) Improve fallback DPI logic 2015-12-07 12:28:22 -03:00
twinaphex b7982d9662 Cleanup 2015-12-07 16:14:36 +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 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
Twinaphex c2e0e8d9fb (menu_entries.c) Less pointer grabbing 2015-12-07 07:13:18 +01:00
twinaphex 0d52b8ec3a Header include nits 2015-12-06 22:48:57 +01:00
twinaphex 4218ff7781 move elem0_path 2015-12-06 21:23:18 +01:00
twinaphex d84ffcc915 Attempt to make action_get_title_generic more robust 2015-12-06 21:22:19 +01:00
twinaphex 91cf0508fe core_info.c - Refactor 2015-12-06 20:44:21 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 883c2a172a Exclude performance.h from runloop.h 2015-12-06 19:10:58 +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 d1fa703991 Buildfix 2015-12-06 17:56:18 +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 9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
Higor Eurípedes e18e4494e7 (menu) Fix heap overflow
Some struct video_shader fields have sizes defined by macros, menu.h and
video_shader_parse.h had different values for some of them. This
resulted in menu.c allocating a ~120KB struct video_shader while
video_shader_parse.c tried to memset() a ~150KB. For some reason this
was only triggered in 32bit environments.
2015-12-05 18:15:35 -03:00
twinaphex 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex 19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +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 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +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
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 978f05ef3b remove unused variables 2015-12-05 12:19:15 +01:00
twinaphex 78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex df813ad58b Create font_driver_flush 2015-12-05 12:10:12 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex 1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex c5879028b3 Not sure why an empty handle was being passed to menu_display_font_bind_block 2015-12-05 11:40:49 +01:00
twinaphex a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex 44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex 63c12b0083 Don't include ui_companion_driver.h inside driver.h 2015-12-05 10:04:06 +01:00
twinaphex 29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
twinaphex ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex 5ed7c3abed Simplify call to main_load_content 2015-12-05 08:10:01 +01:00
twinaphex e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex 3b176eed6f move frame_time_last out of system_t struct and make it
a static local variable inside rarch_main_iterate
2015-12-04 12:26:39 +01:00
twinaphex d9ab26c6e0 Turn menu_animation_state into static local variable 2015-12-04 11:45:33 +01:00
twinaphex 526e41f271 Turn menu_input_state into static local variable 2015-12-04 11:43:42 +01:00
twinaphex fdfcbaa042 Backport/rewrites wmarquesr pt. 7.5 2015-12-04 11:08:12 +01:00
twinaphex b280d25f8a Backport/rewrites wmarquesr pt. 8 2015-12-04 11:06:33 +01:00
twinaphex 456252582e (menu_navigation.c) Turn static variable into local static variable 2015-12-04 03:26:48 +01:00
Higor Eurípedes f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
Jean-André Santoni a6d4e596bb (Menu) Fix a regression in menu_displaylist_parse_settings 2015-12-04 07:01:52 +07:00
Jean-André Santoni 5874805fe4 (Menu) Fix the empty setting list edge case. Prevents being stuck in an empty menu. Fixes #2509 2015-12-04 05:16:05 +07:00
twinaphex 584e0c5110 Prevent crash in Android 2015-12-03 21:37:52 +01:00
Jean-André Santoni bc602645c7 (Menu) Use float for icon coordinates, makes animations look smoother 2015-12-03 15:34:17 +07:00
twinaphex 317049cd25 (Android) We now use the built-in assets extraction inside RA to
extract the 'assets' dir from the APK, no more Java JNI library
for this
2015-12-02 06:22:04 +01:00
twinaphex 6062467d1b task_decompress.c - add code for handling subdir extraction from
zip archive - needed for APK extraction
2015-12-02 06:06:15 +01:00
twinaphex a59cee2521 Update bundle assets task call 2015-12-02 04:04:51 +01:00
twinaphex 0679916db1 Start setting up all the code needed for bundle assets
extraction
2015-12-02 03:55:28 +01:00
Twinaphex eb512d0caf Should fix input config label regression 2015-12-01 18:29:46 +01:00
twinaphex b056e809c3 Attempt to fix dispmanx issue for joolswills 2015-12-01 04:28:53 +01:00
twinaphex c5df156f23 Cleanups 2015-12-01 03:33:50 +01:00
twinaphex 2c2aaec107 Don't use global->cheat outside cheats.c 2015-12-01 03:07:16 +01:00
twinaphex e0ec68a73d Reduce references to global->cheat 2015-12-01 03:03:33 +01:00
twinaphex dbb3d8f770 Rewrite cheat code 2015-12-01 03:00:31 +01:00
twinaphex 39b8971fae Reduce references to global->cheat 2015-12-01 02:55:07 +01:00
twinaphex 8efb57f4bf Reduce scope of global->cheat 2015-12-01 02:49:27 +01:00
twinaphex b8eba00a7e Reduce scope of global->cheat 2015-12-01 02:46:43 +01:00
twinaphex 43abd39f6a Start limiting scope of global->cheat to cheats.c 2015-12-01 02:43:34 +01:00
twinaphex 04605f085c Create RUNLOOP_CTL_{PERFCNT} 2015-11-30 21:56:35 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex ca71e1a5bb Rename RARCH_ACTION_STATE_ to RARCH_CTL_ 2015-11-30 21:28:55 +01:00
twinaphex 1368897cd6 (Wii) Warning fixes 2015-11-30 19:34:34 +01:00
Higor Eurípedes 826e3d6262 (menu) Add bundle decompression stub 2015-11-30 12:36:49 -03:00
twinaphex bf66b43ecd Remove unused variable 2015-11-30 15:57:26 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
Higor Eurípedes cf0a493605 Add some task-related localized strings 2015-11-30 10:02:36 -03:00
Higor Eurípedes 7e156584ba (tasks) Add progress metter and task titles 2015-11-30 09:17:46 -03:00
twinaphex ec2b8c2c48 Cleanup 2015-11-30 05:38:00 +01:00
Twinaphex 98e6df93cb Automatically reinit after asset extraction succeeded for
CB_UPDATE_ASSETS
2015-11-30 05:36:36 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex f7bb3650d9 Simplify driver_set_nonblock_state 2015-11-29 17:45:07 +01:00
twinaphex e8d6e48a74 Remove unused variables 2015-11-29 17:34:31 +01:00
twinaphex 6fd6288337 Move block_libretro_input to input_driver.c 2015-11-29 17:33:29 +01:00
twinaphex 253649b0cf Move flushing_input to input_driver.c 2015-11-29 17:23:30 +01:00
twinaphex 6c4b6310aa (playlist.c) Go through wrapper functions 2015-11-29 00:46:47 +01:00
Higor Eurípedes 3bad31e513 (tasks_decompress) Attempt to fix some Android issues 2015-11-28 17:14:07 -03:00
Higor Eurípedes aad63e776b Log some warnings in the decompression code 2015-11-28 16:08:55 -03:00
twinaphex c23846c5dc Merged input_joypad.c and input_joypad_driver.c 2015-11-28 16:22:49 +01:00
twinaphex 1df5d44bdb Rename input/keyboard_line 2015-11-28 16:13:16 +01:00
twinaphex 68169f9ac3 Rename input_get_bind_string_* functions 2015-11-28 16:06:14 +01:00
twinaphex 2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex da8c36b0c3 Don't need sleeping argument anymore for rarch_main_data_iterate 2015-11-28 03:26:01 +01:00
radius 35b36ce2c7 fix label 2015-11-27 20:59:10 -05:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
twinaphex 70d782b94a Rename functions to fit input_config_ naming convention 2015-11-28 02:13:27 +01:00
Twinaphex 406107f1aa (iOS) Fix warning 2015-11-28 01:50:19 +01:00
twinaphex 7ca0d74005 Don't expose struct in header anymore 2015-11-28 00:59:47 +01:00
twinaphex 0ca0bd182b Don't expose input_bind_map outside anymore 2015-11-28 00:51:33 +01:00
twinaphex 1f5b121505 Create input_get_bind_map_base 2015-11-28 00:44:34 +01:00
twinaphex 9f7afa0862 Some C89_BUILD buildfixes 2015-11-28 00:36:22 +01:00
radius d5e56c7561 fix the settings for each player 2015-11-27 18:08:55 -05:00
radius 7d8b13372d add GUI representation for the settings 2015-11-27 18:08:53 -05:00
radius 07291710ef fix nit 2015-11-27 18:08:43 -05:00
radius 1296768d47 add stub driver for network gamepad 2015-11-27 18:08:39 -05:00
Higor Eurípedes 3feff47a01 (menu) Use the new decompress task in the downloader 2015-11-27 19:48:09 -03:00
Twinaphex 4a3b9ffc7c Try to conserve on CPU usage when in sleep mode by skipping
menu rendering
2015-11-27 23:37:23 +01:00
Higor Eurípedes 2dd87e9ea2 (menu) Don't lock the user inside the content/core downloader menu 2015-11-27 13:45:20 -03:00
Higor Eurípedes 08f098e339 Fix shader update 2015-11-25 23:25:37 -03:00
radius 3ac80f6864 add a hint so the user can tell between devices with the same name 2015-11-24 22:30:51 -05:00
twinaphex 3e8659cdb9 C89_BUILD buildfixes 2015-11-25 04:05:04 +01:00
twinaphex 91a9a53a84 Some C89_BUILD buildfixes 2015-11-25 03:38:57 +01:00
twinaphex f319916e80 C89_BUILD buildfixes 2015-11-25 03:33:54 +01:00
twinaphex b673f2c14f Fix CXX_BUILD warning 2015-11-25 03:31:37 +01:00
Twinaphex 11757fdcb7 Merge pull request #2460 from lakkatv/xmb
(XMB) Fix boxart ratio
2015-11-24 19:39:12 +01:00
Jean-André Santoni e6924a725b (XMB) Fix boxart ratio 2015-11-25 01:34:26 +07:00
twinaphex 49b9ccd467 Remove dead code 2015-11-24 18:11:11 +01:00
Higor Eurípedes 92683976a5 Add user_data pointer to rarch_task_push_image_load() 2015-11-24 13:50:44 -03:00
Twinaphex a59fd56059 Merge pull request #2458 from lakkatv/xmb
(Menu) Fix a segfault in playlist associations
2015-11-24 17:40:33 +01:00
aliaspider be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Jean-André Santoni f834c23222 (Menu) Fix a segfault in playlist associations 2015-11-24 16:05:08 +07:00
Higor Eurípedes afce03a20e (task_http) Abort task on error 2015-11-23 22:45:36 -03:00
twinaphex 00a0ab3fac Yet more HAVE_LIBRETRODB ifdefs - hope these are the last 2015-11-24 01:57:33 +01:00
twinaphex 075a4891dc Buildfix/move input code around 2015-11-24 01:18:00 +01:00
twinaphex 6e86dd5491 More HAVE_LIBRETRODB ifdefs 2015-11-24 01:14:23 +01:00
twinaphex f0b3731e4f Ifdef more scanning code 2015-11-24 01:12:50 +01:00
Higor Eurípedes 1d946a1b27 (task_file_transfer) Fix --disable-zlib builds 2015-11-23 20:41:25 -03:00
twinaphex f358962e40 Fix typo 2015-11-23 23:48:22 +01:00
twinaphex 86f0bdd3d8 ifdef certain code with HAVE_LIBRETRODB 2015-11-23 23:45:01 +01:00
Twinaphex e7c7c4515a Merge pull request #2450 from lakkatv/xmb
(XMB) Load boxarts from subfolders named after the system name in no-…
2015-11-23 23:31:02 +01:00
Jean-André Santoni 0789e9f394 (XMB) Load boxarts from subfolders named after the system name in no-intro. Start following the convention of no-intro-screenshot-reloaded to get title screenshots, or in game screenshots, and we will add boxarts by ourselves later. 2015-11-24 05:21:29 +07:00
Twinaphex e0b90e6d11 Don't call driver_set_nonblock_state when we are about to shutdown 2015-11-23 23:18:40 +01:00
twinaphex b5480d85a1 Remove unused variable 2015-11-23 22:36:50 +01:00
Twinaphex 20c08a6137 Merge pull request #2448 from heuripedes/tasks
Tasks
2015-11-23 22:35:47 +01:00
twinaphex 09fe26257c header include changes 2015-11-23 21:58:39 +01:00
Higor Eurípedes 4b8a2ebad7 Fix build 2015-11-23 17:42:01 -03:00
Higor Eurípedes 935e03fa97 Reimplement http transfers using tasks 2015-11-23 17:42:01 -03:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
Higor Eurípedes c21ffeff71 Reimplement content scanning using tasks 2015-11-23 17:42:01 -03:00
twinaphex e0f0590269 Rearrange header includes 2015-11-23 19:40:09 +01:00
twinaphex 389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
Alcaro 09d6897c2f Wipe some sign compare warnings. 2015-11-23 18:40:32 +01:00
twinaphex efb1d741f9 Update 2015-11-23 16:06:48 +01:00
twinaphex c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex 9b41061143 Rename driver->video 2015-11-23 14:14:12 +01:00
twinaphex 5854f83d19 Turn another function static 2015-11-23 12:17:16 +01:00
twinaphex 78ba80662f (menu_setting.c) Turn function static 2015-11-23 12:16:22 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex 2f8f030f85 Hide away Gamepad Mapping Type until it is useful on more
than just iOS
2015-11-22 14:07:24 +01:00
twinaphex 2b4bfdb91d Remove unused variables 2015-11-22 13:33:45 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
Jean-André Santoni 9b8c8bfd21 Allow resetting the core associations to N/A with start 2015-11-22 02:10:22 +07:00
Jean-André Santoni 19e3b35d7d Disable rounding of the icon size, makes the icons blurry in some case, but should also fix positionning bugs on some resolutions 2015-11-22 02:08:03 +07:00
twinaphex aa1e8dc543 (menu_setting) Refactor this macro mess 2015-11-21 16:32:22 +01:00
twinaphex 96b41b43b5 Cleanups 2015-11-21 11:24:02 +01:00
twinaphex e3c09e00b9 Move setting to function 2015-11-21 11:22:34 +01:00
twinaphex f0ac86820b (menu_setting.h) Put macros inside headers 2015-11-21 09:47:09 +01:00
twinaphex d839157d13 (menu_setting.c) Add do{}while(0) to macros 2015-11-21 09:45:05 +01:00
twinaphex 0f33722f5d Refactor Wii per-game resolution mode to be somewhat generic 2015-11-21 08:56:24 +01:00
twinaphex de44911092 (PS3/Wii) Reimplement video resolution code 2015-11-21 08:39:46 +01:00
twinaphex 1c3ba76e67 (PS3) Implement video output get prev/next 2015-11-21 07:54:42 +01:00
twinaphex 4f0cec7b1e Buildfixes 2015-11-20 21:22:26 +01:00
twinaphex e09e65e348 Add RARCH_DISPLAY_CTL_GET_NEXT_VIDEO_OUT 2015-11-20 21:20:12 +01:00
twinaphex e1ac9aed6b Add RARCH_DISPLAY_CTL_MONITOR_RESET 2015-11-20 19:04:00 +01:00
twinaphex ddde58caf4 Simplify video_driver_get_ptr 2015-11-20 18:50:21 +01:00
twinaphex 9e65c3ed4c Remove aspect ratio options that nobody seems to use 2015-11-20 18:07:14 +01:00
twinaphex 3162bb796a Reduce video_driver_get_ptr calls 2015-11-20 17:46:42 +01:00
twinaphex 4ede2d1f70 reduce video_driver_get_ptr calls 2015-11-20 17:45:10 +01:00
Alcaro d4383de600 Fix accents broken by commit 5aad0eb. 2015-11-20 15:57:13 +01:00
twinaphex 32d070564b Some cleanups 2015-11-20 15:48:38 +01:00
twinaphex 6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex 7141210d15 Remove video_driver_has_windowed 2015-11-20 15:20:54 +01:00
twinaphex 533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
twinaphex 68de1b571f Check if global is non-NULL instead 2015-11-20 13:58:19 +01:00