Commit Graph

173 Commits

Author SHA1 Message Date
twinaphex 36f9d359c2 Combine menu_list and menu_entries 2018-02-25 00:39:20 +01:00
radius 9a23ee8017 subsystem part 3: remove more globals 2018-02-12 02:39:25 -05:00
radius 2a9046c06f subsystem part 3: cleanups 2018-02-12 02:39:25 -05:00
radius 692c8683b2 subsystem part 2: add missing define, fix typo 2018-02-12 02:39:24 -05:00
radius 788bb4de50 subsystem part 1: proper labels for each entry 2018-02-12 02:39:24 -05:00
radius 597e0ce1ec subsystem part 1: get the required data to load content 2018-02-12 02:39:23 -05:00
radius 42f88a8239 Revert "Fix 'Append Disk Image'"
Reverting this truly fixes disk image append

¯\_(ツ)_/¯

This reverts commit 366c73f429.
2018-02-08 22:30:51 -05:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
orbea e1db3e7a6d C89_BUILD: Fix some clang compiler errors.
Fixes these two compile errors with C89_BUILD=1

configuration.c:2028:9: error: ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement]
   bool has_application_data =
        ^
1 error generated.
make: *** [Makefile:164: obj-unix/configuration.o] Error 1

In file included from menu/widgets/menu_osk.c:42:
menu/widgets/menu_osk_utf8_pages.h:62:94: error: no newline at end of file [-Werror,-Wnewline-eof]
                          "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
                                                                                 ^
1 error generated.
make: *** [Makefile:163: obj-unix/menu/widgets/menu_osk.o] Error 1
2018-01-03 12:19:16 -08:00
twinaphex a6afddae04 current_input_data and current_input are no longer globals 2017-12-29 23:03:25 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker 224b581881 C89 buildfix 2017-11-28 11:43:32 -05:00
David Walters c733f96a16 listen for mouse buttons/wheel when binding input 2017-11-26 15:42:47 +00:00
twinaphex 9875bbbd7d Silence some Coverity warnings 2017-11-26 01:06:48 +01:00
Twinaphex d36d3e2c89
Update menu_dialog.c 2017-11-21 04:38:38 +01:00
Rob Loach 9e3d6adf6e
Fix coding standard 2017-11-20 18:47:27 -05:00
Rob Loach 25c116e192
Fix strdup() memory leak 2017-11-20 18:46:07 -05:00
Rob Loach dd6ec31f3d
Fix for pressing ENTER on cheats 2017-11-15 22:19:29 -05:00
twinaphex e9708be756 Prevent Coverity warning 2017-10-19 23:02:18 +02:00
Brad Parker 338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
twinaphex 856fccd65c Update 2017-10-05 05:27:43 +02:00
twinaphex 489acabdf4 Update 2017-10-05 05:26:46 +02:00
twinaphex 9829019306 Update 2017-10-05 05:23:54 +02:00
twinaphex 032109512a Fix more Coverity errors 2017-10-04 08:37:21 +02:00
twinaphex 8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex 8d850dc0bd CXX_BUILD fixes 2017-10-02 07:07:18 +02:00
twinaphex cc988cf559 Trying to prevent Coverity error 2017-10-01 18:28:07 +02:00
twinaphex 2b55e5858e Remove menu_entries_get_actiondata_at_offset 2017-10-01 17:25:41 +02:00
twinaphex df15a67c71 Remove menu_entries_get_last 2017-10-01 17:20:01 +02:00
twinaphex e376bd75c0 Fix crash with savestate thumbnails 2017-09-30 07:10:58 +02:00
twinaphex 1156d6cec5 Simplify conditionals 2017-09-30 06:18:38 +02:00
twinaphex 4fd00ac146 Be safer with this 2017-09-29 21:22:01 +02:00
Twinaphex 66de49c987 Fix memory leaks and crashes 2017-09-29 21:19:07 +02:00
twinaphex 01099d526c Fix the other leaks in menu_entry_get 2017-09-29 21:10:03 +02:00
twinaphex 3551ac825c Rewrite rich label allocation 2017-09-29 21:05:23 +02:00
twinaphex 4639b2547d Rewrite another function 2017-09-29 19:09:11 +02:00
twinaphex 1c477ca007 Rewrite menu_entry_get_sublabel 2017-09-29 18:52:15 +02:00
twinaphex efde859e17 Rewrite menu_entry_get_rich_label 2017-09-29 18:46:53 +02:00
twinaphex 9c90f97792 No longer use menu_entry_alloc 2017-09-29 18:37:04 +02:00
twinaphex 08f9e4aaf9 Refactor menu_entry 2017-09-29 18:22:11 +02:00
twinaphex 8bf741257c (XMB) Reduce stack usage 2017-09-29 16:47:30 +02:00
twinaphex 5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex 6dcbf0eab8 (menu_list.c) Use malloc 2017-09-29 04:49:59 +02:00
twinaphex dfe6035ade Put menu_entry_t on heap inside xmb_draw_items 2017-09-28 07:26:43 +02:00
twinaphex f914a91944 Use menu_entry_get_type_new 2017-09-28 07:15:29 +02:00
twinaphex decea56c03 Rewrite menu_entry_get_path 2017-09-28 06:51:48 +02:00
twinaphex 7adf4ca854 Simplify menu_entry_get_spacing 2017-09-28 06:44:04 +02:00
twinaphex 76277a12b0 Rewrite menu_entry_get_label 2017-09-28 06:40:15 +02:00
twinaphex db7e1a4fdf Simplify menu_entry_get_sublabel 2017-09-28 06:37:48 +02:00
twinaphex b8e900cd32 Rewrite menu_entry_get_value 2017-09-28 06:32:49 +02:00