Commit Graph

7583 Commits

Author SHA1 Message Date
twinaphex f087419165 Rename platform_linux.c to platform_unix.c 2017-06-19 17:38:49 +02:00
Conn 78339ae67c xmb: fix incorrect wallpaper alpha blending 2017-06-19 16:38:09 +01:00
twinaphex e23f0be913 Prevent Coverity warning 2017-06-19 02:09:06 +02:00
allanin c990a57359 Fixing wrong settings in Nuklear 2017-06-18 05:57:08 +00:00
twinaphex 6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
Jean-André Santoni 364440813f Merge pull request #5009 from psyke83/xmbtrans
xmb: enable menu transparency support when emulation is paused (v2)
2017-06-11 21:23:24 +02:00
twinaphex 060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex 68516cf74c (input_keyboard.c) cleanups 2017-06-11 17:35:48 +02:00
twinaphex 95e588ce0f Fix C89_BUILD 2017-06-10 12:52:45 +02:00
Twinaphex 6d85e1f0a6 Merge pull request #5045 from casdevel/mice
Add player mouse device selection
2017-06-10 04:13:16 +02:00
twinaphex cdf7a403ea Add audio mixer mute enable 2017-06-08 23:53:24 +02:00
twinaphex cdd7fbeb52 Add audio mixer volume setting 2017-06-08 22:58:43 +02:00
twinaphex 5812471350 Need to apply db_to_gain to convert decibel to gain 2017-06-08 22:32:03 +02:00
twinaphex 420d0d0607 Get rid of audio_driver_set_volume_gain 2017-06-08 22:24:51 +02:00
Zoran Vuckovic a74197dc49 Add player mouse index setting 2017-06-08 17:57:36 +02:00
twinaphex d7ff2de094 Add stubbed out setting 2017-06-08 00:28:53 +02:00
twinaphex 6b1b8fc35a Add netplay settings sublist 2017-06-08 00:19:43 +02:00
twinaphex 0c3283574d Add deferred hooks for netplay submenu 2017-06-08 00:11:00 +02:00
Conn f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
twinaphex 44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn 17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
twinaphex cc1954b4ac Add 'Filter by current core' 2017-06-01 00:25:13 +02:00
twinaphex eb8b31df3c Silence some Coverity warnings 2017-05-30 16:44:19 +02:00
Brad Parker 78a0711bff XMB: prevent null pointer dereference with GDI driver 2017-05-29 20:35:33 -04:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
Jean-André Santoni 710e912aca (XMB) Code cleaning 2017-05-29 21:00:00 +02:00
Jean-André Santoni 66bfdc9408 (XMB) draw_thumbnail refactoring 2017-05-29 20:58:29 +02:00
twinaphex 44bf15ad28 Remove unused menu_display_msg_queue 2017-05-29 05:34:24 +02:00
twinaphex 426dfd79db Properly hide 'Core Information' if core is unloaded 2017-05-29 03:35:11 +02:00
Jean-André Santoni 51adb3ff78 Fix the navigation pointer when clicking tabs in glui 2017-05-29 02:50:42 +02:00
twinaphex e67b6d4b3c Fix coverity error 2017-05-29 02:30:12 +02:00
Jean-André Santoni a23e2ead3c Start fixing the cancel callback in the content downloader 2017-05-29 02:25:35 +02:00
twinaphex 5a4bb34cf8 Fix directory selection by mouse/touch 2017-05-29 01:50:31 +02:00
twinaphex 39f1441b7c (XMB) Small optimizations 2017-05-29 01:46:57 +02:00
Jean-André Santoni 950aef8ded Clear the navigation pointer in the content downloader 2017-05-29 01:36:36 +02:00
twinaphex 30c5a2870f Put this back here 2017-05-28 19:11:18 +02:00
twinaphex ffe0987454 Silence some Coverity warnings 2017-05-28 19:06:15 +02:00
twinaphex c2cb872b08 Cleanup 2017-05-28 18:42:11 +02:00
twinaphex fa809bd3f4 Buildfix 2017-05-28 18:36:49 +02:00
twinaphex 9fa871ccf9 Buildfixes for consoles 2017-05-28 18:33:44 +02:00
twinaphex 66f056322a Fix pointer overflow 2017-05-28 17:53:45 +02:00
twinaphex 3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex b5aef51cc0 Revert "Make this code somewhat more like the other menu drivers"
This reverts commit 6c5d5ea497.
2017-05-28 15:14:35 +02:00
twinaphex 6c5d5ea497 Make this code somewhat more like the other menu drivers 2017-05-28 15:13:18 +02:00
twinaphex 721c6bc5bb Create menu_driver_destroy 2017-05-28 15:09:17 +02:00
twinaphex b8041cc93b Add further conditional check 2017-05-28 13:51:55 +02:00
twinaphex 3ec06a3a4c Move back to old code prior to commit 85afd63 2017-05-28 13:34:30 +02:00
twinaphex f1447ddf3f Music history list now usable for non-HAVE_FFMPEG builds 2017-05-28 00:09:30 +02:00
Twinaphex 9fe1b9f0b2 get rid of unused variables 2017-05-28 00:04:26 +02:00
twinaphex 9438545bca Add music tab for non-ffmpeg enabled builds now; add 'Run'
and 'Add to mixer' options when selecting Ogg/WAV files
2017-05-27 23:56:10 +02:00
twinaphex 63638ee571 Add 'Use builtin player' to file browser settings 2017-05-27 22:39:52 +02:00
twinaphex 5851d103d0 Add 'Add to Mixer' option for Ogg/WAV files inside the music tab 2017-05-27 21:03:17 +02:00
Twinaphex 0b3ef16982 Merge pull request #4974 from fr500/master
re-add manual connection option, cleanup old codepaths
2017-05-27 20:05:15 +02:00
radius fabdc580ef readd manual connection option, cleanup old codepaths 2017-05-27 12:59:34 -05:00
twinaphex 3e8234ab38 Cleanups 2017-05-27 19:13:22 +02:00
twinaphex 22f8dfab2d Update 2017-05-27 17:17:52 +02:00
twinaphex a626a30098 Turn menu_display_set_alpha into macro 2017-05-27 16:52:52 +02:00
twinaphex 087debe45d Cleanups 2017-05-27 16:50:36 +02:00
twinaphex 09ddd9ddcf Cleanups 2017-05-27 16:31:47 +02:00
twinaphex 70ffe1c12e Cleanups 2017-05-27 16:26:45 +02:00
twinaphex 1acfb9fed6 Cleanups 2017-05-27 16:23:46 +02:00
twinaphex 1b754cf62d (menu_displaylist_parse_horizontal_content_actions -
Move playlist code up
2017-05-27 16:18:14 +02:00
twinaphex df17764673 Move code from menu_content.c to menu_cbs_ok.c 2017-05-27 03:51:56 +02:00
twinaphex 84418df9eb (menu_entries.c) Cleanups 2017-05-27 01:01:58 +02:00
twinaphex 63a640605c Cleanups 2017-05-27 00:50:14 +02:00
twinaphex c4478da202 (menu_displaylist.c) Cleanups 2017-05-27 00:47:55 +02:00
twinaphex 95457077c6 (menu_displaylist.c) Cleanups 2017-05-27 00:40:35 +02:00
twinaphex 5f52a06080 (menu_displaylist.c) Cleanups 2017-05-27 00:36:57 +02:00
twinaphex f1b900f7bc Cleanup 2017-05-27 00:34:36 +02:00
twinaphex a1f3aea089 Cleanups 2017-05-26 22:17:30 +02:00
twinaphex 82473e4e32 This prevents crashes 2017-05-26 22:14:36 +02:00
twinaphex c1386c6f6f Get rid of this 2017-05-26 22:13:39 +02:00
Jean-André Santoni 882fe09dad Reinit the menu when a new font is set 2017-05-26 20:39:42 +02:00
twinaphex 74f202bbda (Menu) Cleanups 2017-05-26 20:12:52 +02:00
twinaphex 588a64dcf2 Silence uninitialized variable warning 2017-05-26 19:38:54 +02:00
twinaphex 8b4f900652 menu_displaylist.c - fix bug on 'images history tab' 2017-05-26 18:32:29 +02:00
twinaphex 43a3298990 Ability to scroll left/right when entry is on a font 2017-05-26 16:20:57 +02:00
twinaphex a40e77b408 Set load_content = false for audio filters/video filters 2017-05-26 16:14:28 +02:00
Jean-André Santoni 0d3593f794 Fix record config loading 2017-05-26 16:10:25 +02:00
twinaphex ecadf864c5 Fixed font selection 2017-05-26 15:57:18 +02:00
twinaphex e2a6a7ad17 Add 'load_content' parameter to parse_drive_list 2017-05-26 15:52:38 +02:00
twinaphex f89f6119e7 Cleanup some dead code 2017-05-26 15:39:55 +02:00
twinaphex 3fbfeadaf3 Cleanup menu_displaylist_ctl 2017-05-26 15:37:24 +02:00
aliaspider e18a5716e3 realloc needed here. 2017-05-26 07:05:52 +01:00
Jean-André Santoni 0a73bccd52 Fix wrong code 2017-05-25 22:43:12 +02:00
Jean-André Santoni 9e1c426a3a Use the new netplay room list in place of the old netplay menu 2017-05-25 17:35:14 +02:00
Jean-André Santoni 259cd900da Fix pointer timer 2017-05-25 14:14:38 +02:00
Zoran Vuckovic eebd7bbeea Change shared-mode settings 2017-05-24 16:25:36 +02:00
twinaphex a883dfd825 Setup start callbacks for record config/output 2017-05-24 01:13:56 +02:00
twinaphex ef4b5db5e2 Updated the other dir settings as well 2017-05-24 00:23:35 +02:00
twinaphex 0b1e6b437d Simplification 2017-05-24 00:16:56 +02:00
twinaphex c87445f0f9 This should set a sane default setting when pressing 'Start' 2017-05-24 00:15:18 +02:00
twinaphex ccba9635b6 Update the way default directories are handled 2017-05-23 19:43:58 +02:00
aliaspider 385539ccc5 fix stack overflow in netplay_refresh_rooms_cb. 2017-05-23 16:14:25 +01:00
aliaspider 934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
twinaphex 6b57791b0a Don't show up empty entries if there are no playlists 2017-05-23 10:46:42 +02:00
twinaphex 5a46537968 Silence Coverity warning/error 2017-05-22 10:35:58 +02:00
aliaspider dd5bc1a951 (WiiU) fix icon scaling in XMB. 2017-05-22 07:34:30 +01:00
radius 75182bfc6f fix errors due to rebase 2017-05-21 23:43:13 -05:00
aliaspider db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
Jean-André Santoni 0b1716650b Use additive blending for the ribbon in GL and Vulkan 2017-05-22 01:29:56 +02:00
twinaphex 043574c5be Silence OSX warning 2017-05-22 00:04:11 +02:00
twinaphex e49c71b142 Cleanups 2017-05-21 17:10:53 +02:00
Jean-André Santoni f25b60a7ab Display the Reboot entry in GLUI if HAVE_LAKKA 2017-05-21 15:32:09 +02:00
Jean-André Santoni bcbcabffe0 Reorder the reboot and shutdown entries 2017-05-21 15:29:33 +02:00
Jean-André Santoni 80f06b9574 Display thumbnails for Load Content->Collections 2017-05-21 15:08:56 +02:00
twinaphex 642e65f53f Add further conditional checks 2017-05-21 10:56:06 +02:00
Jean-André Santoni 7197255211 (XMB) Fix dialog slice on 320x240 viewports 2017-05-21 09:55:50 +02:00
twinaphex c00e3b7b67 Another update 2017-05-21 09:43:59 +02:00
twinaphex 5cbe9dea09 Use local string for set_thumbnail_content function 2017-05-21 09:43:15 +02:00
twinaphex d6c80d7de7 (D3D) Menu driver - don't use current_shader interface 2017-05-19 19:53:19 +02:00
twinaphex 16996aad6d Make thumbnail show too for IMAGEVIEWER type 2017-05-19 18:45:59 +02:00
twinaphex cb2e898d8c Cleanups 2017-05-19 15:31:14 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
Twinaphex e42ed3e3df (iOS) Should fix some of the crashes 2017-05-19 14:46:59 +02:00
twinaphex 2fb5e821cf Update Font Path menu option 2017-05-19 04:44:10 +02:00
twinaphex fa9fe88547 Fix filebrowser issues 2017-05-19 02:39:33 +02:00
twinaphex 236f5b3514 Fix selecting image with Menu Wallpaper 2017-05-19 01:50:15 +02:00
twinaphex 6d20fa96e0 Revert "Fix #4920"
This reverts commit f341f70705.
2017-05-19 01:37:45 +02:00
Jean-André Santoni f341f70705 Fix #4920 2017-05-19 00:38:20 +02:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex a137332218 Prevent overflowed array index read 2017-05-18 08:08:41 +02:00
twinaphex 2e490037ab Cleanups 2017-05-17 09:49:14 +02:00
twinaphex 9096038e20 Correct set_thumbnail_system/set_thumbnail_content functions 2017-05-17 09:32:17 +02:00
twinaphex ffac0c119e Cleanups 2017-05-17 07:55:02 +02:00
twinaphex fe4622fd3b Cleanups 2017-05-17 07:51:37 +02:00
twinaphex dd53162519 Add define for IPv6 code 2017-05-17 07:24:17 +02:00
twinaphex acaf65a8f7 Add in define if missing 2017-05-17 07:23:16 +02:00
twinaphex be22290495 Rename to inet_ntop_compat 2017-05-17 07:00:47 +02:00
twinaphex 2749a6ada2 Add header include 2017-05-17 05:45:25 +02:00
Twinaphex 3e69214d78 Merge pull request #4928 from fr500/master
add inet_ntop
2017-05-17 05:33:41 +02:00
radius 2f1c3fb437 add inet_ntop 2017-05-16 22:21:36 -05:00
twinaphex 204f0183e1 Header cleanups 2017-05-17 05:06:52 +02:00
twinaphex 529349019d Combine menu_navigation_ctl and menu_driver_ctl 2017-05-17 04:57:43 +02:00
twinaphex c0027ae9a1 Cleanup 2017-05-17 04:32:32 +02:00
twinaphex 7e08752da2 Revert "We can now change menu drivers on the fly"
This reverts commit 85afd633e4.
2017-05-17 04:14:29 +02:00
twinaphex 99466cba86 Cleanups 2017-05-17 03:35:20 +02:00
twinaphex 4436d5998b Cleanups 2017-05-17 03:30:37 +02:00
twinaphex 5dcebe4718 Cleanups 2017-05-17 03:25:23 +02:00
twinaphex 3a6ada1652 Cleanups 2017-05-17 03:19:19 +02:00
radius a81c01729b use inet_ntoa if INET6_ADDRSTRLEN is not defined 2017-05-16 20:13:58 -05:00
twinaphex 85afd633e4 We can now change menu drivers on the fly 2017-05-17 03:04:36 +02:00
twinaphex ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
twinaphex 5072de4c0f (menu_navigation.c) Cleanup 2017-05-17 02:48:52 +02:00
twinaphex 0a1f1237aa Comment out inet_ntop for now 2017-05-16 22:16:41 +02:00
Twinaphex 808b973752 (OSX) Silence warnings 2017-05-16 08:44:17 +02:00
radius 54ce598a00 cut code duplication further 2017-05-16 00:34:28 -05:00
radius 1de95c6413 further refinement of the netplay workflow 2017-05-16 00:18:29 -05:00
radius ea0202a39d LAN rooms work on android although it seems to be always using IPv6 now 2017-05-16 00:18:28 -05:00
radius d749790521 add sublabel indicating the room type 2017-05-16 00:18:28 -05:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex 8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
Twinaphex c035f9597a Merge pull request #4921 from fr500/master
NETPLAY menu improvements
2017-05-16 03:00:19 +02:00
radius c783dbff28 remove some more code duplication, lan rooms now show up correctly on left-right 2017-05-15 19:45:23 -05:00
radius 4710bfcf43 split this function to avoid some code duplication 2017-05-15 19:25:56 -05:00
radius a98033f375 make the --start netplay host-- entry context sensitive 2017-05-15 18:58:46 -05:00
Jean-André Santoni 8e47e7e8b3 Fix #4920 2017-05-15 21:24:27 +02:00
twinaphex eddb655eb9 Split off user_language from settings struct 2017-05-15 20:41:04 +02:00
twinaphex 15142be8ee Cleanups 2017-05-15 20:30:37 +02:00
twinaphex 6b4d4447b2 Cleanups 2017-05-15 20:24:12 +02:00
twinaphex 7bf34c48a9 Cal xmb_list_get_selection only once 2017-05-15 19:00:24 +02:00
Jean-André Santoni 17837ec81d Display thumbnails in the Database Manager 2017-05-15 13:05:33 +02:00
twinaphex 63762e8850 (menu_input.c) Cleanups 2017-05-15 11:34:12 +02:00
twinaphex d28ec842f3 Add menu_driver_push_list 2017-05-15 08:29:47 +02:00
twinaphex 575095c8e6 Add menu_driver_load_image 2017-05-15 08:21:02 +02:00
twinaphex 076a83a62b Remove some RARCH_MENU_CTL_ actions 2017-05-15 08:03:35 +02:00
twinaphex f584d1cea5 Add menu_driver_populate_entries 2017-05-15 07:59:24 +02:00
twinaphex 1fef134f04 Create menu_driver_navigation_set 2017-05-15 07:56:22 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex c70916ca31 Move callback to menu_displaylist.c 2017-05-15 02:57:47 +02:00
twinaphex 8bdcb2f123 Push callback to task_push_wifi_scan 2017-05-15 02:44:24 +02:00
twinaphex 56fb642119 Rewrite task_netplay_lan_scan.c - pass callback function to task 2017-05-15 02:09:26 +02:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 0185f71bab Cleanups 2017-05-13 23:47:25 +02:00
twinaphex dd79c9a236 Pass is_idle to menu driver render function 2017-05-13 21:06:06 +02:00
twinaphex a7d09733a6 Get rid of rarch_ctl/runloop_ctl calls from menu_display.c 2017-05-13 20:00:51 +02:00
twinaphex 34870290cd Add menu_display_has_windowed - don't query video_driver_has_windowed
every time
2017-05-13 19:43:30 +02:00
twinaphex d87e1c57d6 Cleanups 2017-05-13 18:20:14 +02:00
Francisco José García García 5fc7a6776b (VITA) Fix problem with font renderer 2017-05-13 14:17:55 +02:00
Jean-André Santoni ce9439e722 Display Lakka version in System Information 2017-05-13 13:12:15 +02:00
twinaphex 2adace47d4 Cleanup 2017-05-12 03:18:43 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex 2906bec7a8 Create input_driver_get_uint 2017-05-11 07:36:21 +02:00
twinaphex ef8094836f Create input_driver_get_float 2017-05-10 07:07:06 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex 99e7cb7d75 Only need to grab settings pointer from within audio_driver_flush
now when setting slowmotion
2017-05-08 21:50:21 +02:00
twinaphex 097515fa63 No longer have to grab settings pointer to get audio mute value 2017-05-08 21:39:08 +02:00
Andre Leiradella 844d1475e6 Reverted cheevos changes in preparation for conversion to task; fixed 4884 2017-05-07 19:06:03 +01:00
twinaphex 9e25597943 Prevent coverity warning 2017-05-06 18:00:44 +02:00
twinaphex 36375cecf8 input_swap_override - Get rid of dependency on settings 2017-05-06 06:01:15 +02:00
twinaphex 33f2fe8029 Move cheevos.c to tasks/task_cheevos.c and add TODO/FIXME note 2017-05-06 05:50:46 +02:00
Jean-André Santoni c34b4dd787 Fix lakka settings 2017-05-03 17:01:37 +02:00
aliaspider 5a16b61ec5 XMB: unload thumbnail textures in xmb_context_destroy. fixes #3141 2017-05-03 14:14:35 +01:00
Brad Parker a568782309 add "off" toggle option to thumbnails in library 2017-05-02 22:27:36 -04:00
aliaspider 0310b67927 use strlen and not utf8len for the len parameter passed to
get_message_width. fixes #4873.
2017-05-03 03:09:01 +01:00
Monroe88 2012abd6d1 (menu-setting.c) Use SD_FLAG_ADVANCED instead for Fullscreen resolution and config aspect ratio settings 2017-05-01 21:06:07 -05:00
Monroe88 b0d6919339 Add Config Aspect Ratio setting to the menu 2017-05-01 20:10:41 -05:00