Commit Graph

2941 Commits

Author SHA1 Message Date
twinaphex
74286788a6 Cleanups 2015-09-04 23:00:16 +02:00
twinaphex
332b464643 Code de-duplication 2015-09-04 22:58:41 +02:00
twinaphex
bc2f1fb9fa Indenting nits 2015-09-04 22:49:14 +02:00
twinaphex
c0feef5b2f Code de-duplication 2015-09-04 22:48:20 +02:00
twinaphex
5f91c3ade6 Code de-duplication 2015-09-04 22:33:30 +02:00
twinaphex
4f9cb1525c Code de-duplication 2015-09-04 22:24:04 +02:00
twinaphex
6244635716 Some code de-duplication 2015-09-04 21:59:04 +02:00
twinaphex
d3da036a4e Header cleanups 2015-09-04 21:43:08 +02:00
twinaphex
a509de60b5 Cleanups 2015-09-04 21:31:22 +02:00
twinaphex
65fef114c2 Cleanups 2015-09-04 21:29:15 +02:00
twinaphex
0077304833 Cleanups 2015-09-04 21:27:14 +02:00
twinaphex
8920f6aabd Cleanups 2015-09-04 20:11:46 +02:00
twinaphex
b0f54b896a Clean up unused variables 2015-09-04 18:41:53 +02:00
twinaphex
6006fa98b2 Cleanups 2015-09-04 17:25:42 +02:00
twinaphex
78b6acf986 Cleanups 2015-09-04 17:08:39 +02:00
twinaphex
4c41cadf22 Have menu_common_load_content return int 2015-09-04 16:55:26 +02:00
twinaphex
47936965e6 Cleanup rarch_defer_core_wrapper 2015-09-04 15:43:01 +02:00
twinaphex
c83c8fe970 Code cleanups 2015-09-04 15:39:57 +02:00
twinaphex
5d7485771a Code de-duplication 2015-09-04 13:08:15 +02:00
Twinaphex
2b82b23cc5 Update menu_cbs.c 2015-09-04 01:58:16 +02:00
twinaphex
6ede080c99 Cleanup 2015-09-04 01:28:37 +02:00
twinaphex
7e81aaf274 Cleanups 2015-09-04 01:26:17 +02:00
twinaphex
354de315e7 Cleanups 2015-09-04 01:23:02 +02:00
twinaphex
b88b97bc56 Cleanups 2015-09-04 01:18:26 +02:00
twinaphex
8c01eb5c50 Cleanups 2015-09-04 00:44:09 +02:00
twinaphex
23538b3dc8 Cleanup 2015-09-04 00:35:55 +02:00
twinaphex
45e90d9e6b Cleanups 2015-09-04 00:31:46 +02:00
twinaphex
ad103d11cb Cleanups 2015-09-04 00:27:55 +02:00
twinaphex
9f21d947a2 Cleanups 2015-09-04 00:21:07 +02:00
twinaphex
773f40c71c Code de-duplication pt. 2 2015-09-04 00:15:56 +02:00
twinaphex
ae814c66c6 Cut down on code duplication 2015-09-04 00:03:31 +02:00
twinaphex
36592121f1 Cleanups 2015-09-03 23:50:18 +02:00
twinaphex
8eeac237a6 More of same 2015-09-03 23:45:02 +02:00
twinaphex
144bdcfdad Code de-duplication 2015-09-03 23:38:07 +02:00
twinaphex
dd611f6d4e Code de-duplication 2015-09-03 23:35:21 +02:00
twinaphex
533446f561 (menu_cbs_ok.c) More code de-duplication 2015-09-03 23:22:16 +02:00
twinaphex
54ee9d8b06 (menu_cbs_ok.c) Cleanups 2015-09-03 23:14:50 +02:00
twinaphex
2d18d6e27d (menu_cbs_ok.c) More code de-duplication 2015-09-03 22:56:30 +02:00
twinaphex
18226651e0 (menu_cbs_ok.c) Refactor code 2015-09-03 22:52:19 +02:00
twinaphex
29cd1d0087 (menu_cbs_ok.c) Cut down on code duplication 2015-09-03 22:20:43 +02:00
twinaphex
8fec2bd68d (menu_cbs_ok.c) Code cleanups 2015-09-03 22:17:47 +02:00
twinaphex
e5c2ec8dcb menu_cbs_ok.c - Code de-duplication 2015-09-03 21:53:01 +02:00
twinaphex
b203f10061 Cleanups 2015-09-03 20:26:12 +02:00
twinaphex
b15785c7e2 (menu_cbs_get_value.c) Cut down on code duplication 2015-09-03 20:21:12 +02:00
twinaphex
ea71eac2fe Cleanups 2015-09-03 11:24:00 +02:00
twinaphex
9d5562e423 Fix shader preset/pass load 2015-09-03 11:21:04 +02:00
twinaphex
5b4d4c40b8 (menu_cbs_ok.c) Get rid of code duplication pt. 3 2015-09-03 02:05:37 +02:00
twinaphex
80a9530a20 (menu_cbs_ok.c) Cut down on code duplication pt. 2 2015-09-03 02:00:18 +02:00
twinaphex
68ecf7c602 (menu_cbs_ok.c) Cut down on code duplication 2015-09-03 01:56:14 +02:00
twinaphex
33f947e18d (menu_cbs_ok.c) Cleanups 2015-09-02 18:38:45 +02:00
twinaphex
236a8425ec (menu_cbs_{left|right}.c) Cut down on some code duplication 2015-09-02 16:36:59 +02:00
twinaphex
a42b59916c CXX_BUILD buildfixes 2015-09-02 15:58:22 +02:00
twinaphex
ed7c31f173 menu_navigation.h - include unistd.h, stddef.h for definitions
of size_t and ssize_t
2015-09-02 12:45:58 +02:00
twinaphex
634c24ac0b Revert "(Emscripten) Buildfix"
This reverts commit c276f3f8a2.
2015-09-02 12:42:45 +02:00
twinaphex
c276f3f8a2 (Emscripten) Buildfix 2015-09-02 12:38:32 +02:00
twinaphex
a1cf635289 (menu_cbs_select.c) Bind shader parameters 2015-09-02 01:39:52 +02:00
twinaphex
c4af46b686 Call notify_refresh of UI companion driver when we touch shader
parameters
2015-09-02 01:19:26 +02:00
twinaphex
ec8f7d9a6d (menu_cbs_left.c) - Simplify 2015-09-02 01:17:51 +02:00
twinaphex
78d3b94a4a Craete EVENT_CMD_SAVE_STATE_INCREMENT/EVENT_CMD_SAVE_STATE_DECREMENT 2015-09-02 01:15:10 +02:00
twinaphex
bbf7e02139 Create EVENT_CMD_CHEATS_APPLY 2015-09-02 01:10:44 +02:00
twinaphex
1a54984fe9 (menu_cbs_ok.c) Code de-duplication 2015-09-02 00:50:47 +02:00
twinaphex
87d41c10d2 (menu_cbs_ok.c) Code de-duplication 2015-09-02 00:47:44 +02:00
twinaphex
ce43122b6f (menu_cbs_ok.c) Cut down on some code duplication 2015-09-02 00:42:45 +02:00
twinaphex
d93559039e (menu_cbs_ok.c) Cleanups 2015-09-02 00:35:32 +02:00
twinaphex
02f9afb202 Cleanups 2015-09-02 00:14:05 +02:00
twinaphex
e39f28f989 (menu_cbs_deferred_push.c) Cut down on some more code duplication 2015-09-02 00:14:05 +02:00
twinaphex
71b85b460d Add another param to general_push 2015-09-01 20:41:58 +02:00
twinaphex
a254ebe474 Some more code de-duplication 2015-09-01 20:27:14 +02:00
twinaphex
620035b766 (menu_cbs_deferred_push.c) Get rid of code duplication 2015-09-01 19:22:33 +02:00
twinaphex
b1348cfe94 Add retro_log.h to menu_cbs.c 2015-09-01 14:59:58 +02:00
twinaphex
15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
Monroe88
e5c6618c20 (menu_displaylist.c) Fix Preview Shader Parameters 2015-08-30 17:52:42 -05:00
twinaphex
a1f4c80648 (PS3) Some build warning fixes 2015-08-30 23:51:10 +02:00
twinaphex
3c6d0dd77c Some PSP1 build fixes and start adding PSP1 support to
Makefile.griffin
2015-08-30 23:19:45 +02:00
CautiousAlbino
173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Twinaphex
aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
CautiousAlbino
c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex
75c649d807 Cleanups 2015-08-30 13:46:51 +02:00
Twinaphex
d21dc218ed (UI companion) Call notify_refresh when core option next is toggled 2015-08-30 13:45:58 +02:00
Alcaro
00698de567 Merge branch 'master' of https://github.com/IlDucci/RetroArch into IlDucci-master
Conflicts:
	menu/intl/menu_hash_es.c
2015-08-29 14:51:38 +02:00
twinaphex
1ec90df165 Refactor fastforward ratio 2015-08-27 14:39:42 +02:00
twinaphex
805e2ffde3 Add EVENT_CMD_SET_FRAME_LIMIT callback to limit maximum run speed too 2015-08-27 14:27:57 +02:00
twinaphex
fc763f5e25 Add EVENT_CMD_SET_FRAME_LIMIT 2015-08-27 14:25:57 +02:00
twinaphex
b826305e3c (Menu) Before we do cbs->refresh, reset 'cbs' - could have become
invalid
2015-08-22 20:24:19 +02:00
twinaphex
2196e734d3 Revert "Simplify menu_cbs_init_bind_refresh"
This reverts commit d405d34c0e.
2015-08-22 20:18:08 +02:00
twinaphex
9d137e2b1f Cleanups pt. 2 2015-08-22 03:43:55 +02:00
twinaphex
bfc969faac Cleanup 2015-08-22 03:40:07 +02:00
twinaphex
7e2a25f232 Do refresh at end of menu_entry_action 2015-08-22 02:07:10 +02:00
twinaphex
1d1cda5cde Remove enum 2015-08-22 01:56:15 +02:00
twinaphex
1a2a88cb8a Perform refresh and perform original action immediately afterwards 2015-08-22 01:55:45 +02:00
twinaphex
8454c712f2 Cleanups 2015-08-22 01:47:29 +02:00
twinaphex
a9418050a8 Cleanups 2015-08-22 01:43:13 +02:00
twinaphex
4ae1e9a53d Cleanups 2015-08-22 01:42:26 +02:00
twinaphex
5b188066f1 Revert "Reimplement MENU_ACTION_REFRESH - do this step at menu_iterate_render"
This reverts commit 65bc2f3a82.
2015-08-22 00:08:25 +02:00
twinaphex
65bc2f3a82 Reimplement MENU_ACTION_REFRESH - do this step at menu_iterate_render 2015-08-21 21:34:56 +02:00
twinaphex
a3cedc05d7 Cleanups 2015-08-21 21:19:29 +02:00
twinaphex
8a42deb189 Cleanups - call menu_free from menu_init in case of an error 2015-08-21 20:56:12 +02:00
twinaphex
e8a290bd7b (menu.c) Cleanups 2015-08-21 20:54:56 +02:00
twinaphex
5479bae312 Refactor set_refresh functions somewhat 2015-08-21 18:44:14 +02:00
twinaphex
d405d34c0e Simplify menu_cbs_init_bind_refresh 2015-08-21 18:20:05 +02:00
twinaphex
f53dc8fc67 Fix menu_iterate.c 2015-08-21 06:28:54 +02:00
twinaphex
5ab257f225 (CocoaTouch) Fixes boolean values not being set 2015-08-21 06:03:51 +02:00
twinaphex
9744ce23ab Rename function and only perform menu_animation_udpate is
render_this_frame is checked
2015-08-21 04:56:14 +02:00
twinaphex
8bf28544ef Add parameter to function signature of menu_iterate 2015-08-21 04:33:55 +02:00
twinaphex
7831fd6fc0 Cleanups pt. 3 2015-08-21 04:16:43 +02:00
twinaphex
b09f43ab3a Cleanups pt. 2 2015-08-21 04:03:59 +02:00
twinaphex
c222b20ec1 Cleanups 2015-08-21 03:58:35 +02:00
twinaphex
5e372636e7 Cleanup 2015-08-20 01:41:08 +02:00
twinaphex
39d514d16d Comment out rarch_threaded_video_get_ident if HAVE_THREADS
not defined
2015-08-20 01:40:19 +02:00
twinaphex
9fd17a196f Buildfixes 2015-08-20 00:49:44 +02:00
twinaphex
6b1a9f0852 Cleanups 2015-08-18 04:11:51 +02:00
Twinaphex
1ba49547f3 Remove unused variable 2015-08-18 04:00:17 +02:00
twinaphex
9ff167c1b9 Create separate menu_iterate_main_render 2015-08-18 03:59:04 +02:00
twinaphex
f190230f85 Refactors 2015-08-18 03:51:44 +02:00
twinaphex
6bbc2dd83d Refactor menu_iterate_main 2015-08-18 03:41:13 +02:00
twinaphex
3f978b2b1e Cleanup 2015-08-18 03:12:17 +02:00
twinaphex
1669d8b3e5 (Menu) Cleanup 2015-08-18 03:07:23 +02:00
twinaphex
fe1351cc0d Cleanups 2015-08-18 03:03:34 +02:00
twinaphex
2f3746a431 Make some more functions static 2015-08-18 02:54:42 +02:00
twinaphex
6cc37dd9ca Cleanup 2015-08-18 02:45:36 +02:00
twinaphex
35701215db Take out call to menu_fb_set_dirty in menu_init 2015-08-18 02:36:32 +02:00
twinaphex
d1bcd01b88 Move more video rendering code to menu_iterate.c 2015-08-18 02:09:46 +02:00
twinaphex
f951f12f9d Move menu_list_refresh to menu_displaylist.c 2015-08-18 02:02:56 +02:00
twinaphex
0a35f5e7e9 menu_entry_get - cleanups 2015-08-18 01:58:18 +02:00
Twinaphex
8c5b1df986 Remove unused variable warning 2015-08-18 01:53:26 +02:00
twinaphex
443fd6b4f2 Move menu_driver_render and menu_driver_render_messagebox to
menu_iterate.c and make them static
2015-08-18 01:48:04 +02:00
twinaphex
86894134cb Move menu_driver_navigation_* functions to menu_navigation.c and
make them static
2015-08-18 01:45:10 +02:00
twinaphex
8c5128b189 (menu_display.c) Cleanup 2015-08-18 01:41:16 +02:00
twinaphex
df2b57c454 Remove unused menu_entry_get_current_id 2015-08-18 01:38:18 +02:00
twinaphex
6f95677727 Rewrite menu_entry_go_back 2015-08-18 01:33:03 +02:00
twinaphex
91eda0d59b Simplify menu_entries_refresh 2015-08-18 00:21:30 +02:00
twinaphex
acfa43dfe9 Make iterate no longer a function pointer 2015-08-17 22:46:27 +02:00
twinaphex
5839abd44a Cleanup 2015-08-17 22:32:42 +02:00
twinaphex
900d537351 Simplify action_iterate_info 2015-08-17 22:10:12 +02:00
twinaphex
7738b7e2f4 Simplify action_iterate_info 2015-08-17 21:58:05 +02:00
twinaphex
512e126a26 Simplify action_iterate_info 2015-08-17 21:53:08 +02:00
twinaphex
79a4e0e5c6 (menu_cbs_deferred_push.c) Remove one instance of menu_setting_find 2015-08-17 21:21:27 +02:00
twinaphex
b8e09769ae Cleanup 2015-08-17 21:15:16 +02:00
Twinaphex
e18e3de872 Merge pull request #2045 from lakkatv/glui
(GLUI) Stop scrolling on tap start, instead of tap end
2015-08-17 20:58:44 +02:00
Twinaphex
c16e114e62 Buildfix 2015-08-17 20:58:11 +02:00
twinaphex
0bf8a36d50 Fix RGUI fallback - if threaded video wrapper was enabled,
we could not grab an ident resembling 'd3d' or 'gl'
2015-08-17 20:51:12 +02:00
Jean-André Santoni
e8c508d33f (GLUI) Stop scrolling on tap start, instead of tap end 2015-08-17 20:28:54 +02:00
twinaphex
49d048fde2 Simplify menu_entry_pathdir_set_value 2015-08-17 20:11:51 +02:00
twinaphex
4405caeb63 Simplify menu_entry_get_type 2015-08-17 20:08:06 +02:00
twinaphex
d36272b4bb Simplify menu_entry_get_setting 2015-08-17 19:57:17 +02:00
twinaphex
a4657461a6 Don't use menu_setting_find in menu_cbs_ok.c except for one place 2015-08-17 19:52:24 +02:00
twinaphex
6093253763 Don't use menu_setting_find in menu_cbs_title.c 2015-08-17 19:47:18 +02:00
twinaphex
927423df89 action_select_default -don't use menu_setting_find anymore 2015-08-17 19:45:37 +02:00
twinaphex
f1dfdd653a Same thing for menu_cbs_right.c 2015-08-17 19:39:12 +02:00
twinaphex
132b382545 Refactor menu_cbs_init_bind_left_compare_label - no longer
depends on menu_setting_find
2015-08-17 19:38:00 +02:00
twinaphex
15ca93a4c9 Refactor action_ok_menu_wallpaper_load - no longer needs menu_setting_find 2015-08-17 19:35:53 +02:00
twinaphex
a6e524219f Don't use expensive menu_setting_find function anymore for
menu_setting_set
2015-08-17 19:30:11 +02:00
twinaphex
e523177f34 Add setting to file_list_cbs_t 2015-08-17 19:27:03 +02:00
twinaphex
4f6a2f3677 Add menu_setting_generic call to set_bool function 2015-08-17 18:47:49 +02:00
twinaphex
f32ed00f49 Remove some implicit memsets 2015-08-17 18:27:30 +02:00
twinaphex
3fb234acbd Reduce menu_list_clear calls to one 2015-08-17 18:23:53 +02:00
twinaphex
9925da95ae Refactor menu_entries_get_core_title 2015-08-17 18:14:51 +02:00
twinaphex
323a06f41f (menu_setting.c) Cleanups 2015-08-17 17:55:44 +02:00
twinaphex
97ec360eb3 Cleanups 2015-08-17 17:46:31 +02:00
twinaphex
a3bc91cd01 Remove some unused enums 2015-08-17 16:56:09 +02:00
twinaphex
7bd2372d09 setting_bool_action_toggle_default - use setting_with_string_representation 2015-08-17 16:47:32 +02:00
twinaphex
06d1b033e9 Stop overcomplicating menu code - deferred handler never used so
take it out
2015-08-17 16:34:38 +02:00
twinaphex
a186a5c683 Turn menu_setting_apply_deferred into static function 2015-08-17 16:31:37 +02:00
twinaphex
efdb2ecd4b Don't use menu_settings_apply_deferred anymore 2015-08-17 16:24:46 +02:00
twinaphex
c9a7dcce4f Remove unused value_hash 2015-08-17 16:14:46 +02:00
twinaphex
707e3e91d2 Update setting_set_with_string_representation for ST_BOOL 2015-08-17 16:12:18 +02:00
twinaphex
ffc5266c6c menu_entry_set_bool_value - call menu_setting_apply_deferred at
the end
2015-08-17 16:05:32 +02:00
twinaphex
b6702ebb7e Fixups 2015-08-17 16:00:48 +02:00
Twinaphex
996c010ca6 Fixup 2015-08-17 16:00:29 +02:00
twinaphex
e10b8ae6f2 (menu_setting.c) No idea why this code was still here 2015-08-17 15:58:15 +02:00
twinaphex
fcc9ffb4a1 Call menu_setting_apply_deferred after toggling setting 2015-08-17 15:57:15 +02:00
twinaphex
0218a2755d Create menu_settings_apply_deferred 2015-08-17 15:54:23 +02:00
twinaphex
fa177cb291 (Menu) Cleanups 2015-08-17 15:49:05 +02:00
twinaphex
4f1bb7b9b6 Not sure what perform_action was doing here 2015-08-17 15:44:57 +02:00
twinaphex
cd1875ceb4 Cleanups 2015-08-17 15:39:24 +02:00
twinaphex
5bbbf72b17 (menu_entry.c) Cleanups 2015-08-17 06:59:25 +02:00
twinaphex
0007bd0662 (menu_cbs_iterate.c) Remove implicit memset 2015-08-17 06:54:39 +02:00
twinaphex
2320511071 Only call menu_driver_render now from one position 2015-08-17 06:45:16 +02:00
twinaphex
1c38e9ae05 Don't call menu_driver_render from menu_input.c 2015-08-17 06:40:28 +02:00
twinaphex
032abfffd4 Call menu_driver_render_messagebox from one place only 2015-08-17 06:31:39 +02:00
twinaphex
fb3009d07a (menu_driver.c) Cleanups 2015-08-17 05:13:45 +02:00
twinaphex
4d884d3687 Refactor earlier code 2015-08-17 05:09:36 +02:00
twinaphex
98c182d174 When MENU_VIDEO_DRIVER_OPENGL is set for menu driver, check
if the video driver is really GL
2015-08-17 05:07:25 +02:00
twinaphex
dc73edadcf Cleanup old ugly hack 2015-08-17 05:05:29 +02:00
Jean-André Santoni
e8c5865798 (GLUI) Stop scroll on tap 2015-08-17 03:16:34 +02:00
Twinaphex
277db1c701 (menu_cbs_select.c) Reimplement ST_DIR 2015-08-17 00:07:30 +02:00
Twinaphex
2afd79d0f0 willReloadData at the end of menu_entry_select was causing issues 2015-08-16 23:52:39 +02:00
twinaphex
dadd382dfd Implement more types for default select callback 2015-08-16 23:35:09 +02:00
Twinaphex
dd7cc401f6 Remove unused variables 2015-08-16 17:43:53 +02:00
twinaphex
8a173035c9 (menu_input.c) Always use MENU_ACTION_SELECT now for mouse presses 2015-08-16 17:41:39 +02:00
twinaphex
93ed2d60da Reimplement mouse input code - triggers 'select' callback 2015-08-16 02:10:16 +02:00
twinaphex
a805044aa3 (menu_cbs_select.c) Update 2015-08-15 23:22:01 +02:00
Jean-André Santoni
c3bad44632 Start displaying messageboxes in cocoa_touch 2015-08-15 02:42:04 +02:00
Twinaphex
7d72e864c4 (iOS) Fix lots of empty screen estate let for labels 2015-08-06 14:21:15 +02:00
Twinaphex
5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex
74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
twinaphex
afcf53aaef (menu_cbs_select.c) Hook up ST_DIR 2015-08-05 10:16:46 +02:00
twinaphex
6bdfc2f200 Take out unnecessary logging 2015-08-05 10:01:55 +02:00
twinaphex
6a582dcdac (menu_cbs_select.c) Hook up 'Use This Directory' 2015-08-05 09:41:02 +02:00
twinaphex
747a2263c8 (menu_cbs_select.c) Implement action_select_directory 2015-08-05 05:55:04 +02:00