Commit Graph

1159 Commits

Author SHA1 Message Date
aliaspider 77b4c8f420 prevent a NULL dereference. 2016-10-24 22:42:17 +01:00
twinaphex 2201a8da00 Add sublabel 2016-10-24 11:59:03 +02:00
twinaphex c29e7c7456 Add more sublabels 2016-10-24 11:51:51 +02:00
twinaphex 6d5a638f30 Add more get_value callbacks 2016-10-24 05:20:29 +02:00
twinaphex 2eea70c270 Add optimized cbs_value callback for ST_BOOL 2016-10-24 05:08:57 +02:00
twinaphex 7b7b9b1f27 Add sublabel for Menu Settings 2016-10-24 04:27:43 +02:00
twinaphex 31180dfcf1 Add more entries 2016-10-23 22:10:54 +02:00
twinaphex 1cb2822013 Avoid expensive function menu_setting_get_label being invoked
when at Quick Menu
2016-10-23 19:46:29 +02:00
twinaphex 32a4053d42 Prevent two other entries from invoking expensive function
menu_setting_get_label
2016-10-23 19:42:04 +02:00
twinaphex 1dd30345e4 Prevent invoking of menu_setting_get_label (expensive function)
when browsing Download Content
2016-10-23 19:31:48 +02:00
twinaphex f2097c1c0b Prevent menu_setting_get_label from getting invoked for
'Load Savestate' inside Quick Menu
2016-10-23 04:54:52 +02:00
twinaphex c512ed8122 Prevent recent history entries from invoking menu_setting_get_label 2016-10-23 04:21:17 +02:00
twinaphex 834e9bc8ae Prevent menu_setting_get_label invocation for system info entries 2016-10-23 04:18:18 +02:00
twinaphex 98f2c994ce Cleanup 2016-10-23 04:15:37 +02:00
twinaphex 9f2b428a4e Prevent another menu_setting_get_label call 2016-10-23 04:09:44 +02:00
twinaphex 0a079568df Prevent another menu_setting_get_label codepath 2016-10-23 04:08:07 +02:00
twinaphex 65dbc0fd6e Avoid some more huge menu_setting_get_label overhead by
adding a lightweight callback for database entries
2016-10-23 03:44:09 +02:00
twinaphex 3363e57def Biggest overhead now to be found at menu_setting_get_label -
we need to implement more efficient get_value callbacks
2016-10-23 03:37:51 +02:00
twinaphex 594b36488b Get rid of more small and slow menu wrapper functions 2016-10-23 03:13:49 +02:00
twinaphex cd219f807b Get rid of more expensive superfluous wrapper functions for menu code 2016-10-23 02:41:50 +02:00
twinaphex 2b4d87a983 Remove setting_get_type 2016-10-23 02:28:22 +02:00
twinaphex d0851d28dc Add sublabel 2016-10-21 06:56:11 +02:00
twinaphex 720cd4ff7e Add more sublabels 2016-10-21 06:52:52 +02:00
twinaphex f3fd254bcd Add sublabels 2016-10-21 01:29:54 +02:00
twinaphex 323ea2fa83 Add sublabels 2016-10-21 01:05:47 +02:00
twinaphex 7cce75f552 Add sublabel settings 2016-10-20 20:52:20 +02:00
twinaphex e1d50a91a0 Add more sublabels 2016-10-20 19:50:25 +02:00
twinaphex 68a5f33ebd Add more sublabels 2016-10-20 19:42:42 +02:00
twinaphex 7e0cadfac1 Create MENU_ENUM_SUBLABEL_FPS_SHOW 2016-10-20 19:28:45 +02:00
twinaphex 1b829e3159 Add another label 2016-10-20 17:45:35 +02:00
twinaphex 8d28a5f2e9 Add audio settings sublabel 2016-10-20 16:19:14 +02:00
twinaphex 0a295998a2 Hook up sublabels 2016-10-20 16:10:20 +02:00
twinaphex c9c7aea184 Create sublabel callbacks 2016-10-20 15:57:35 +02:00
twinaphex 5f552253c4 Add sublabel to menu_entry_t 2016-10-20 15:47:02 +02:00
twinaphex d38d9f46a6 Prevent implicit memsets 2016-10-16 01:49:54 +02:00
Francisco José García García 7d24146fc7 Fix download content on not core updateable platforms 2016-10-15 12:55:23 +02:00
Twinaphex 30285734b5 Remove unused variable 2016-10-14 16:19:19 +02:00
Brad Parker fec6ed0964 remove zip requirement for archives downloaded from network, same for detecting cores for files when loading archive with core 2016-10-13 15:04:26 -04:00
twinaphex 2fe10a0a23 Prevent Coverity warning 2016-10-12 13:44:27 +02:00
twinaphex 78a09be030 (menu_cbs_ok.c) Prevent implicit memsets 2016-10-09 09:23:00 +02:00
hunterk bad0e9607c add slang shader menu entry to online updater 2016-10-08 15:16:01 -05:00
twinaphex 9895ae0247 Get rid of more implicit memsets 2016-10-08 19:47:26 +02:00
twinaphex 407ef26788 remove more implicit memsets 2016-10-08 19:44:03 +02:00
twinaphex 989640ebf7 More cleanups; bind_right_compare_label was taking up a lot of CPU
time inside the menu
2016-10-08 19:34:27 +02:00
twinaphex ec243713bd Get rid of some implicit memsets in menu/cbs 2016-10-08 19:16:25 +02:00
twinaphex 81a7f7bf68 (menu/cbs) Avoid implicit memsets in performance-crucial areas 2016-10-08 18:23:10 +02:00
twinaphex b3a7d2a7bb Fix Recording Settings 2016-10-08 15:05:31 +02:00
Twinaphex b0d63f0775 Remove unused variables 2016-10-04 06:09:59 +02:00
Gregor Richards ff8590b151 Moving around netplay disable/enable to make sure mode switches work
properly.
2016-10-03 17:40:14 -04:00
Gregor Richards 3953018547 Clarifications to Netplay menu and removing obsolete setting
This commit:
 * Reorders the Netplay settings menu to put more useful options at the
   top.
 * Renames the swap_input setting from "Swap Netplay Input", which is
   meaningless and confusing, to "Netplay P2 Uses C1", which is oddly
   truncated but at least true.
 * Removes the is_client setting altogether, as that's no longer how
   client vs. server mode is determined (each are separate options when
   enabling Netplay)
2016-10-03 17:28:20 -04:00
Gregor Richards e41ac34561 Get rid of global->netplay
Moved settings values into settings->netplay, and global->netplay.enable
is moved into netplay itself, and is no longer a configuration value
whatsoever, as that conflicts with the behavior of the netplay menu.
2016-10-02 22:13:34 -04:00
twinaphex 8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex 243dc139d2 Revert "Create path server and add to paths.c"
This reverts commit 00a1e3716a.
2016-10-01 08:17:44 +02:00
twinaphex 7d20224ff0 Revert "Move path settings to paths.c"
This reverts commit 3a7e9a7052.
2016-10-01 08:17:13 +02:00
twinaphex 5a3e5f85a5 Revert "Add record dirs to dirs.c"
This reverts commit fe3281e05d.
2016-10-01 08:15:07 +02:00
twinaphex 53bd29bfad Revert "Cleanups"
This reverts commit 55efca9b23.
2016-10-01 08:14:03 +02:00
twinaphex 55efca9b23 Cleanups 2016-09-30 07:49:15 +02:00
twinaphex fe3281e05d Add record dirs to dirs.c 2016-09-30 07:45:04 +02:00
twinaphex 3a7e9a7052 Move path settings to paths.c 2016-09-30 06:33:57 +02:00
twinaphex 00a1e3716a Create path server and add to paths.c 2016-09-30 06:22:56 +02:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
Gregor Richards eb86bafece Better user feedback in the Netplay menu. 2016-09-29 13:13:50 -04:00
Gregor Richards 567da56048 Adding remaining netplay menu options
A couple fixes are still necessary for the client, in particular to
recover a "lost" hostname, but now it is possible to start server or
client mid-stream, and to disconnect intentionally.
2016-09-29 13:04:38 -04:00
Gregor Richards 03c9dab93a Adding a netplay menu
In this first cut, Netplay can be enabled "mid-stream", but not much
else is supported. Client reconnection and either-side disconnection are
listed in the menu but don't yet do anything.
2016-09-29 13:04:38 -04:00
twinaphex 3d098839ca Update path_get 2016-09-29 08:46:41 +02:00
twinaphex 329f6ad612 Update path_get 2016-09-29 08:31:41 +02:00
twinaphex b8a1052b73 Update path_set 2016-09-29 07:40:14 +02:00
Brad Parker af98ee1c8a Add CRC calculation function that works with archives with or without a path inside (first file is used if no path)
Add all archive's contents to database scan list when scanning files and directories

Allow scanning a single file that is an archive

Remove unnecessary prototypes from archive_file.h

Simplify retrieving of CRCs from archives when scanning
2016-09-25 00:15:05 -04:00
twinaphex 4db58bdfc2 Silence C89_BUILD warning 2016-09-25 06:05:02 +02:00
twinaphex 3e182461d9 Try to fix 'pointer to local outside scope' warning 2016-09-25 05:32:16 +02:00
twinaphex 09cc6c41b9 Prevent explicit NULL pointer dereference 2016-09-24 16:58:02 +02:00
Jean-André Santoni def77b5d34 Wi-Fi menu, pass over the entry index to know which network we're trying to connect 2016-09-23 14:45:07 +02:00
Jean-André Santoni 4734cb2640 WiFi: ask for passphrase 2016-09-23 13:16:27 +02:00
twinaphex 4137d33e46 Fix explicit null dereference warning 2016-09-23 02:04:25 +02:00
Jean-André Santoni 714db40fa0 Allow connecting wifi networks 2016-09-22 22:27:58 +02:00
Jean-André Santoni cd0ec01928 Display which wifi network we're connected to 2016-09-22 22:27:54 +02:00
Jean-André Santoni 339de94095 Display WiFi menu title and perform a scan before calling the services 2016-09-22 22:27:45 +02:00
Jean-André Santoni d1ae577811 Start building the ssid list 2016-09-22 02:03:05 +02:00
Jean-André Santoni 850c4beac3 Add a WiFi setting group 2016-09-22 02:03:01 +02:00
Twinaphex f8990cf24d Remove unused variable 2016-09-17 19:42:08 +02:00
twinaphex 5c97d5b46b Move global->name.base to paths.c 2016-09-17 19:41:27 +02:00
twinaphex e338b78792 Use new core options accessors 2016-09-17 13:40:25 +02:00
twinaphex 075599e818 Start using path_ functions for accessing and modifying global->path.config 2016-09-17 13:14:14 +02:00
twinaphex 121675c8e4 Cleanups 2016-09-15 21:08:54 +02:00
twinaphex 8fd5c5817a Create menu_input_dialog 2016-09-15 19:23:32 +02:00
twinaphex 5cf5371314 Refactor menu_input_dialog 2016-09-15 19:07:30 +02:00
twinaphex b9320514cb Create menu_input_dialog_start 2016-09-15 17:11:01 +02:00
twinaphex ed3f002f1b Rename menu_input_key_line_end to menu_input_dialog_end 2016-09-15 17:07:52 +02:00
twinaphex f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex 233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +02:00
twinaphex 02e01e0b0a Create menu/widgets/menu_entry 2016-09-15 00:20:43 +02:00
twinaphex 892c0a6f52 Create menu/widgets/menu_list 2016-09-15 00:10:37 +02:00
twinaphex 056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex a8f1d5b115 Add HAVE_CONFIG_H ifdefs 2016-09-08 05:39:08 +02:00
twinaphex ffd253e749 (menu_cbs_deferred_push.c) Add HAVE_CONFIG_H 2016-09-08 05:35:39 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00