Commit Graph

2437 Commits

Author SHA1 Message Date
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
Higor Eurípedes fca48021aa (xmb) Fix whitespace 2017-10-03 21:16:11 -03:00
Higor Eurípedes 6ed9f28656 (xmb) Set selection_ptr_old to zero when animations are off 2017-10-03 21:15:35 -03:00
twinaphex 79908ec8d4 Cleanups 2017-10-03 05:34:05 +02:00
Twinaphex 9c89b3e546 Merge pull request #5496 from Brunnis/master
Add setting for showing/hiding the ability to rename playlist items
2017-10-02 22:37:50 +02:00
twinaphex bb2702ef2f (Xbox) Some buildfixes 2017-10-02 22:35:06 +02:00
Mikael Brunnhede af7df0cba3 Add setting for showing/hiding the ability to rename playlist items. 2017-10-02 22:17:44 +02:00
twinaphex 721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex cdb24aff1c (RGUI) Silence warning 2017-10-02 20:33:46 +02:00
twinaphex 8d850dc0bd CXX_BUILD fixes 2017-10-02 07:07:18 +02:00
Hans-Kristian Arntzen 43b4c65b1e Fix crash in MaterialUI on reinit.
Can't cache pointers. Cache the index instead.
2017-10-01 20:00:20 +02:00
twinaphex 1d960e0c42 Try to silence Coverity error 2017-10-01 18:23:40 +02:00
twinaphex 2b55e5858e Remove menu_entries_get_actiondata_at_offset 2017-10-01 17:25:41 +02:00
twinaphex e66ef15580 Remove another useless wrapper function 2017-10-01 17:17:53 +02:00
twinaphex a87bef6ed0 Remove useless wrapper function 2017-10-01 17:11:09 +02:00
twinaphex 3cac2a6df8 (MUI) Fix memory leak 2017-10-01 16:51:09 +02:00
Brad Parker a11d04f252 xmb: check that node exists before dereferencing it 2017-10-01 02:08:41 -04:00
twinaphex 849538b15c (MUI) Do texture unload before loading the new wallpaper 2017-09-30 20:03:51 +02:00
twinaphex 455b202142 Fix another Coverity error 2017-09-30 17:09:52 +02:00
twinaphex b46f2ba35f Fix Coverity error 2017-09-30 17:05:26 +02:00
twinaphex 4dd6c7fac7 Fix crash 2017-09-30 16:55:50 +02:00
twinaphex 2a8b74eeb9 Fix some Coverity errors 2017-09-30 16:52:41 +02:00
twinaphex b0de197da4 Memset this variable 2017-09-30 07:43:37 +02:00
twinaphex e376bd75c0 Fix crash with savestate thumbnails 2017-09-30 07:10:58 +02:00
twinaphex 638a441530 (XMB) Be safer 2017-09-30 06:40:54 +02:00
twinaphex 1156d6cec5 Simplify conditionals 2017-09-30 06:18:38 +02:00
twinaphex eea7fe2dce Cleanup materialui.c 2017-09-30 06:13:24 +02:00
twinaphex 94fdf314f2 Cleanup conditionals 2017-09-30 06:11:18 +02:00
twinaphex d6b385d0b8 Try to be more safe 2017-09-30 05:08:11 +02:00
Twinaphex fc79569682 (MaterialUI) Fix memory leak 2017-09-29 21:38:27 +02:00
Twinaphex 66de49c987 Fix memory leaks and crashes 2017-09-29 21:19:07 +02:00
twinaphex f398f44253 Rewrite xmb_draw_item 2017-09-29 21:00:56 +02:00
twinaphex 238de4aa57 Prevent memory leak 2017-09-29 20:56:54 +02:00
twinaphex 4db14dca9a (RGUI) Rewrite msgbox 2017-09-29 20:01:00 +02:00
twinaphex 5da54b6f88 (MUI) Rewrite box_message 2017-09-29 19:59:19 +02:00
twinaphex 7f80ecbe93 (XMB) xmb_free - prevent memory leaks 2017-09-29 19:57:23 +02:00
twinaphex 8e01424450 Refactor and rewrite big char arrays 2017-09-29 19:55:06 +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 05d5def6c2 Simplify xmb_draw_item 2017-09-29 18:12:17 +02:00
twinaphex 9b279ca968 (XDK360) Buildfix 2017-09-29 18:03:29 +02:00
twinaphex 51d98ef0c0 (XMB) Reduce stack usage 2017-09-29 16:54:57 +02:00
twinaphex 8bf741257c (XMB) Reduce stack usage 2017-09-29 16:47:30 +02:00
twinaphex dc11a02e61 Cleanup 2017-09-29 16:34:20 +02:00
twinaphex b2932d5270 Split up function into two - create xmb_draw_item 2017-09-29 16:32:30 +02:00
twinaphex 5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex 65edb2f06c Update 2017-09-28 08:55:40 +02:00
twinaphex 9185fb3ed1 (RGUI) Cleanups 2017-09-28 08:51:28 +02:00
twinaphex f444ef109f (MUI) Reorder variables 2017-09-28 08:45:42 +02:00
twinaphex 270f35753a reorder XMB variables 2017-09-28 08:42:12 +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 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
twinaphex c5255b1bff Simplify menu_entry_get_rich_label 2017-09-28 06:19:34 +02:00
twinaphex 2f10fd14d6 Create menu_entry_init/menu_entry_free 2017-09-28 06:02:14 +02:00
twinaphex bb6e4a6633 xmb_draw_items - small cleanups 2017-09-28 05:37:19 +02:00
twinaphex a616fa16f3 Small cleanups 2017-09-28 05:00:22 +02:00
twinaphex 7633141bd6 Try to prevent potential memory leak 2017-09-28 03:53:48 +02:00
twinaphex 8b5f8d8c64 menu_displaylist_info - rewrite path 2017-09-28 03:06:54 +02:00
twinaphex 08ecfc74ec Rewrite info.label 2017-09-28 02:45:03 +02:00
twinaphex 72f42b602f menu_displaylist_info - reduce stack usage - exts no longer
a fixed size path
2017-09-28 01:38:05 +02:00
Mikael Brunnhede a1e9027fe2 Added XMB menu option to show the Settings tab if it has previously been hidden. 2017-09-26 14:41:07 +02:00
twinaphex 88b593e4af (360) Builds again(360) Builds again(360) Builds again(360) Builds
again(360) Builds again(360) Builds again(360) Builds again(360) Builds
again(360) Builds again
2017-09-13 04:33:43 +02:00
twinaphex 170b368044 (360) Some buildfixes 2017-09-13 04:21:00 +02:00
twinaphex 07148293a5 (Xbox) Some buildfixes 2017-09-13 03:18:31 +02:00
twinaphex a532ef3cea (XMB) Prevent memory leak 2017-09-12 04:47:37 +02:00
twinaphex a25f9d291e (XMB) Reduce stack usage 2017-09-12 04:37:58 +02:00
twinaphex 632225ee73 Reduce stack usage 2017-09-11 04:40:35 +02:00
twinaphex ea5538d955 (XMB) Reduce stack size cleanups 2017-09-11 02:37:53 +02:00
twinaphex f722e26167 Cleanups 2017-09-10 23:22:09 +02:00
twinaphex 155d6a23b9 Start using menu_displaylist_info_free 2017-09-10 22:57:26 +02:00
twinaphex 08e3bb2122 (MSVC) Buildfixes 2017-09-10 22:38:03 +02:00
twinaphex 6ec9d643f6 (XMB) Reduce size of sysname 2017-09-09 07:59:53 +02:00
Twinaphex 6d65c5157a remove unused variables 2017-09-09 07:22:25 +02:00
twinaphex 8e53ce6184 (XMB) Get rid of for loops for iterating over shadow coordinates 2017-09-09 06:52:49 +02:00
twinaphex 03009d618e Get rid of loop inside xmb_frame 2017-09-09 06:48:31 +02:00
twinaphex 1b168bc95e Cleanups 2017-09-09 04:31:56 +02:00
twinaphex 330d8dc59e Cleanups 2017-09-09 00:02:38 +02:00
twinaphex ca32013665 Reduce size of some variables 2017-09-08 23:09:16 +02:00
twinaphex 582b688121 Silence some warnings for PS3 2017-09-06 00:21:20 +02:00
Brad Parker 8d525f711a msvc2003 buildfixes 2017-09-03 23:39:25 -04:00
twinaphex 80dc96a8fb CXX_BUILD buildfix 2017-09-04 03:49:23 +02:00
Higor Eurípedes 455349880e (xmb) Fix crash when browsing to small lists 2017-09-03 18:06:38 -03:00
Higor Eurípedes eac68b9d41 (xmb) Limit selection_buf_old to visible items 2017-09-03 16:30:45 -03:00
Higor Eurípedes 6c7a354822 (xmb) Remove xmb->menu_stack_old 2017-09-03 14:51:14 -03:00
twinaphex 67710daf4b Fix initialization from incompatible pointer type 2017-09-03 15:45:18 +02:00
Higor Eurípedes 718eeb4a39 (xmb) Fix memleak
Due to file_list_free()'s behavior of free()ing userdata as if it was a
simple, contiguous structure xmb_node_t's fullpath member wasn't being
free()'d.
2017-09-03 10:25:15 -03:00
Higor Eurípedes a7e6b02107 (xmb) Refactor xmb_copy_node()
xmb_node_t is nowhere as big as it used to be, so copying is fine now.
2017-09-03 10:19:03 -03:00
Higor Eurípedes 65ec1e973a (xmb) Add xmb_free_list_nodes()
Fixes some node->fullpath memleaks.
2017-09-03 09:48:31 -03:00
Higor Eurípedes 1a1e5047e8 (xmb) Fix crash while scanning 2017-09-02 20:21:02 -03:00
Higor Eurípedes 4bfc8f8243 (xmb) Fix crash when toggling the menu 2017-08-31 14:52:54 -03:00
Higor Eurípedes f521a32c00 (xmb) Don't animate more than needed when switching lists 2017-08-30 22:23:29 -03:00
Higor Eurípedes bd96c75bfe (xmb) Make xmb_node_t smaller
Each xmb_node_t instance used over 4KiB of memory even when it didn't
need to. In big list like MAME (30+ thousand entries) RetroArch would
consume over 100MiB (4096 bytes * 30000) just to hold all xmb_node_t
instances.
2017-08-29 22:19:19 -03:00
Twinaphex 4e72be1bb6 Merge pull request #5362 from heuripedes/xmb-improv
Attempt at returning the perf improvement
2017-08-23 07:18:41 +02:00