37631 Commits

Author SHA1 Message Date
twinaphex
45cf53b487 Cleanu gl_raster_font_render_line 2017-05-05 05:23:26 +02:00
Twinaphex
2d83ed388f Merge pull request #4880 from andrewlxer/master
Fix max_swapchain_images and do some additional cleanup
2017-05-05 04:10:32 +02:00
Andrew
01e25bd5c7 Fix max_swapchain_images and do some additional cleanup
When max_swapchain_images was originally added it worked properly,
but was subsequently broken by using the value to specify the number
of buffers allocated.

Due to how the dispmanx driver works, only 2 buffers are ever actually
used, so the 3rd buffer in the "swapchain" ended up doing nothing.

Fix this by restoring it to the original intent, that is, if
max_swapchain_images <= 2 wait for vsync after the flip (reducing
lag), otherwise wait at the last possible moment (increasing lag).

Additionally, fix up some unnecessary void* usage where type safety
could be maintained.
2017-05-04 18:45:59 -07:00
twinaphex
dfed19cb4d (Cheevos) More cleanups 2017-05-04 16:15:19 +02:00
twinaphex
10b636f80d (Cheevos) Cleanups 2017-05-04 16:13:11 +02:00
Jean-André Santoni
c34b4dd787 Fix lakka settings 2017-05-03 17:01:37 +02:00
Jean-André Santoni
a2d4a9efc5 Update lakka upgrading url 2017-05-03 16:52:25 +02:00
Twinaphex
e9b7c32393 Merge pull request #4876 from aliaspider/master
XMB: unload thumbnail textures in xmb_context_destroy. fixes #3141
2017-05-03 15:31:28 +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
Twinaphex
8f25897d9e Merge pull request #4872 from Monroe88/menu_settings
Minor fix for previous pull request
2017-05-02 04:13:43 +02: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
Twinaphex
edd4f46bbf Merge pull request #4871 from Monroe88/menu_settings
Add Fullscreen resolution and Config Aspect Ratio settings to the menu
2017-05-02 03:31:46 +02:00
Monroe88
b0d6919339 Add Config Aspect Ratio setting to the menu 2017-05-01 20:10:41 -05:00
Monroe88
0dee5b889d Add fullscreen resolution settings to the menu 2017-05-01 19:19:33 -05:00
twinaphex
08c7f63074 Revert "Make the framebuffer 32x32"
This reverts commit 51f7f7a22cdecb12e5afc12d70c386b73f8accfe.
2017-05-02 00:09:36 +02:00
twinaphex
51f7f7a22c Make the framebuffer 32x32 2017-05-02 00:05:34 +02:00
twinaphex
b1cf9adfef (dynamic dummy core) Let's not perform this every frame 2017-05-01 23:40:34 +02:00
Twinaphex
acabead15a Merge pull request #4869 from casdevel/wasapi-driver
Fix incorrect audio frame rate units
2017-04-30 23:54:08 +02:00
Zoran Vuckovic
a5ecdf39fb Fix incorrect audio frame rate units 2017-04-30 23:34:51 +02:00
Twinaphex
a05555cd99 Merge pull request #4868 from casdevel/wasapi-driver
Fix audio frame rate selection
2017-04-30 23:14:06 +02:00
Zoran Vuckovic
4cba63cdd0 Fix audio frame rate selection 2017-04-30 23:05:53 +02:00
Twinaphex
2009d359c9 Merge pull request #4866 from andrewlxer/master
Minor race fix and small cleanup to dispmanx_gfx
2017-04-30 11:48:41 +02:00
Andrew
a1d094e64e Minor race fix and small cleanup to dispmanx_gfx
It's unlikely it was causing issues, but another race existed in the
dispmanx driver, it incremented the pending page count after sending the
update request.

If a context switch happened between sending the update and incrementing
the page count, the vsync callback would decrement it from 0 and cause
the uint to overflow.

Throw in a minor C89 fix and some whitespace fixups too.
2017-04-29 17:09:07 -07:00
Jean-André Santoni
a2542590ef Fix the truncated game name in LAN rooms 2017-04-29 23:41:02 +02:00
Jean-André Santoni
c335d870a5 Code cleaning 2017-04-29 22:07:16 +02:00
twinaphex
532b2ac1ba 'Open Archive' - if we have a core selected, filter roms
in an archive by supported extensions; otherwise, if no core
is selected, show all files that are supported
2017-04-29 21:19:55 +02:00
Twinaphex
34184654d9 Merge pull request #4865 from leiradel/master
Prevent the menu from getting garbage for the cheevos list
2017-04-29 21:16:19 +02:00
twinaphex
8f32801292 It should now properly show supported roms again when no
core info file is found and we have already loaded a
core
2017-04-29 20:27:40 +02:00
Andre Leiradella
7058207197 Prevent the menu from getting garbage for the cheevos list 2017-04-29 18:50:52 +01:00
twinaphex
b303283ac3 (GDI) Buildfix 2017-04-29 19:35:13 +02:00
twinaphex
7df38ac5db (3DS) Buildfix 2017-04-29 19:34:20 +02:00
twinaphex
46bae549ac Fix some coverity warnings 2017-04-29 19:22:44 +02:00
twinaphex
17827940fd Get rid of some if conditionals 2017-04-29 19:21:24 +02:00
twinaphex
254fa75a0f Directly initialize sinc_size 2017-04-29 18:54:34 +02:00
twinaphex
4d419b2b56 (sdl_gfx.c) Update 2017-04-29 18:47:29 +02:00
twinaphex
60242e161a Buildfix 2017-04-29 18:45:58 +02:00
twinaphex
c147604103 Update 2017-04-29 18:33:50 +02:00
twinaphex
7bdef1fde4 Buildfixes 2017-04-29 18:30:23 +02:00
twinaphex
dd83b4a043 (Vita) Buildfix 2017-04-29 17:52:16 +02:00
twinaphex
b5e97238ac Optimize video_driver_threaded_{lock|unlock} 2017-04-29 17:38:47 +02:00
twinaphex
d86f466fe9 Turn video_driver_is_threaded into macro 2017-04-29 17:33:36 +02:00
twinaphex
a5d7bedb8a Pass video_is_threaded variable to menu driver init function 2017-04-29 17:27:54 +02:00
twinaphex
6bae9244e8 Create menu_driver_init 2017-04-29 17:23:09 +02:00
twinaphex
5f6a342817 Pass param 2017-04-29 17:19:29 +02:00
twinaphex
b515cd10f1 Pass video_is_threaded to context_reset 2017-04-29 17:16:05 +02:00
twinaphex
6f0df4cf60 Create menu_driver_context_reset 2017-04-29 17:13:18 +02:00
twinaphex
03145a0424 Pass video_is_threaded variable to video_driver_init 2017-04-29 17:10:59 +02:00
twinaphex
64b672125c (menu_display.c) Style nits 2017-04-29 17:05:21 +02:00