gblues
fb5b31faf3
Merge branch 'master' into gblues/hid
2018-04-14 14:18:03 -07:00
gblues
97e09d179f
Fix deadlocks when device is unplugged
...
== DETAILS
TIL that it's bad to call synchronization code from callbacks.
To avoid that, I made the following changes:
- Implemented an atomic swap (see previous commit) to avoid explicit
locking when working with the event list
- ensure locks are only acquired in either the main thread or the
I/O polling thread
- use an explicit polling loop; we still use async reads, but the
read doesn't immediately re-invoke itself.
- remove the sleep in the polling thread.
- remove unnecessary locking in the thread cleanup call--verified that
the list can't be modified while it is being executed.
== TESTING
I tested locally, and was able to disconnect/reconnect USB devices several times without the worker thread getting deadlocked.
2018-04-14 13:30:34 -07:00
Twinaphex
79071bd11b
Merge pull request #6577 from Stevoisiak/settings-rename-ui
...
retroarch.cfg: Rename "UI" to "User Interface"
2018-04-14 21:20:15 +02:00
Steven M. Vascellaro
9d352af3a8
retroarch.cfg: Rename "UI" to "User Interface"
...
Use full name for UI to match the terminology when changing settings in RGUI.
2018-04-14 15:17:40 -04:00
Twinaphex
a20d53202d
Merge pull request #6576 from RobLoach/patch-30
...
libretro-db: Show missing key match warning once
2018-04-14 20:47:53 +02:00
Twinaphex
3c7c8871d7
Merge pull request #6575 from RobLoach/patch-29
...
libretro-db: Ignore compiled binaries
2018-04-14 20:47:39 +02:00
Rob Loach
d44f9467e4
libretro-db: Fix whitespace
2018-04-14 14:10:40 -04:00
Rob Loach
d3bbdb2e06
libretro-db: Show missing key match warning once
...
Before, the "missing match" warning would appear for every entry. This change makes it show that it only displays the warning once.
2018-04-14 14:09:46 -04:00
Rob Loach
b0a2df41dd
libretro-db: Ignore compiled binaries
...
This makes it so that the compiled libretro-db binaries are ignored from git.
2018-04-14 14:08:28 -04:00
gblues
dca36ebaf8
Add small snippet for atomic value swapping
...
Fortunately, the gcc port implements the builtins and, from basic
testing, they seem to work.
This is only really useful on Wii U--other platforms have more
robust atomic operations, or aren't using gcc to build.
2018-04-14 01:26:26 -07:00
twinaphex
6f7b8aac8c
Add input/input_mapper.c always
2018-04-14 03:25:58 +02:00
Twinaphex
7c5e44ead0
Merge pull request #6568 from nurupo/cxxdoesntlag
...
CXXLAGS -> CXXFLAGS
2018-04-13 18:49:36 +02:00
Twinaphex
4c39a7fd78
Merge pull request #6571 from hiddenasbestos/retro_opendir_r2
...
retro_opendir - Improved fix for bad input
2018-04-13 18:47:02 +02:00
David Walters
adf4ed960e
Handle null and empty string calls to retro_opendir with a consistent null return.
2018-04-13 10:31:21 +01:00
Maxim Biro
6f9c2da807
CXXLAGS -> CXXFLAGS
...
C++ definitely doesn't lag!
2018-04-13 03:35:33 -04:00
Twinaphex
8fe51864a6
Merge pull request #6566 from gingerbeardman/graphics
...
3DS icon and banner update
2018-04-13 03:04:31 +02:00
gingerbeardman
e1637ffa20
icon changes
2018-04-13 01:29:15 +01:00
gingerbeardman
f8b75482e9
icon and banner update and refresh
...
new icons: freeintv
redrawn icons: 81, nekop2, np2kai
tweaked icons: fceumm, mednafen_pce_fast, nestopia, o2em, picodrive
new banners: freeintv
tweaked banners: 81
all images have also been optimised
2018-04-13 01:15:26 +01:00
twinaphex
dc61e23a21
Update libretro-common
2018-04-13 01:10:10 +02:00
Twinaphex
bd2b913bc6
Silence more warnings
2018-04-13 00:52:52 +02:00
twinaphex
041670fe02
Get rid of multitude of casting warnings
2018-04-13 00:47:42 +02:00
twinaphex
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
70abbbf4fb
Revert "Revert "(PS3) Set GCC for PS3""
...
This reverts commit 249abcd10861a8c10c66230192c5f499ca85d995.
2018-04-12 23:46:41 +02:00
Twinaphex
ff18a55f06
Merge pull request #6565 from fr500/master
...
remap-redux: try to fix more warnings
2018-04-12 21:39:46 +02:00
twinaphex
6761ec471d
Silence some Coverity warnings
2018-04-12 21:39:31 +02:00
radius
9a355b8f2e
remap-redux: try to fix more warnings
2018-04-12 14:20:38 -05:00
twinaphex
6e4cf412f0
(menu_entry_playlist_start_entry) This code seems to be unnecessary now?
2018-04-12 21:02:54 +02:00
twinaphex
e7bed050bc
Fix memory leak
2018-04-12 20:54:06 +02:00
twinaphex
249abcd108
Revert "(PS3) Set GCC for PS3"
...
This reverts commit 5486894e3bea860a586a7d82cb77362a3f0a1c32.
2018-04-12 20:30:35 +02:00
twinaphex
5486894e3b
(PS3) Set GCC for PS3
2018-04-12 20:16:58 +02:00
Twinaphex
38525e1e8f
Merge pull request #6564 from Tatsuya79/patch-1
...
MUI Scale mouse cursor like icons.
2018-04-12 18:58:50 +02:00
Tatsuya79
3f77a6a320
MUI Scale mouse cursor like icons.
2018-04-12 18:56:54 +02:00
Twinaphex
c5c41efc0f
Merge pull request #6563 from hiddenasbestos/retro_opendir
...
patch retro_opendir to handle nullptr and empty-string input
2018-04-12 16:38:51 +02:00
David Walters
801ecb019a
patch retro_opendir to handle nullptr and empty-string input
2018-04-12 12:44:42 +01:00
Twinaphex
872c364f34
Merge pull request #6561 from Dwedit/br_encoding_fix
...
Change encoding of msg_hash_pt_br.h from Windows-1252 to UTF-8
2018-04-12 02:28:10 +02:00
twinaphex
97cf6613da
(XMB/Shaders) Reimplement menu shader loading for GLSL/Cg/HLSL backends - if
...
XMB is selected, it will compile the shader pipelines in
advance
2018-04-12 02:20:17 +02:00
Dwedit
9252c56142
Change Windows-1252 encoded file back to UTF-8
2018-04-11 17:10:46 -05:00
twinaphex
74a3677eb5
Silence warning
2018-04-11 06:14:55 +02:00
twinaphex
abad1b3134
Revert "(menu) Start passing menu_handle to action_ok callback"
...
This reverts commit d2a1c39f4b4e4aa874dcf21fa0f4272a7cf73662.
2018-04-11 06:12:26 +02:00
twinaphex
1836d08b33
Revert "Start passing around menu_driver_data around properly"
...
This reverts commit 7c314a91650c9b4d74222bbdefa37e014fa4ae0d.
2018-04-11 06:12:14 +02:00
twinaphex
b540ae3d4d
Revert "Update"
...
This reverts commit 21ede63df2ad2bd7d6d0f92b107d9202746f1c23.
2018-04-11 06:12:08 +02:00
twinaphex
146c94a86a
Revert "(iOS) Buildfix"
...
This reverts commit 15142fd0a98b0761c883366f817dd92326352ab9.
2018-04-11 06:12:01 +02:00
twinaphex
6c99acb23e
Revert "Pass around void pointer data - menu handle"
...
This reverts commit b4a2bd5156354b084283165be96d43ee99bf50ec.
2018-04-11 06:11:54 +02:00
twinaphex
fdffb7059d
Revert "Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET"
...
This reverts commit fbf03df8be22b40a1d44908ebfe0163a0ebb4bef.
2018-04-11 06:11:45 +02:00
twinaphex
a276710877
Revert "(Menu) More refactors"
...
This reverts commit f0285ef7920fdcb6cdc8f8111600e9c66bb5df3d.
2018-04-11 06:11:38 +02:00
twinaphex
a07ada7af6
Revert "More cleanups - getting rid of RARCH_MENU_CTL_DRIVER_DATA_GET"
...
This reverts commit a8f7d99abaf3adefcee466013c035bd9fe4b0ec7.
2018-04-11 06:11:23 +02:00
twinaphex
21244c6ec7
Revert "(Menu) Get rid of more RARCH_MENU_CTL_DRIVER_DATA_GET calls"
...
This reverts commit cb3b5d72abe87f95585f1aa460de5c97abdf407f.
2018-04-11 06:11:18 +02:00
twinaphex
87c9d9eb9a
Revert "Cleanups"
...
This reverts commit 8632a925682d258a746b8921421140f733b06f2f.
2018-04-11 06:11:10 +02:00
twinaphex
4993630e10
Revert "Cleanups"
...
This reverts commit 8d6067b1d43b96028c61f9d710bfab7bba6c9295.
2018-04-11 06:11:04 +02:00
twinaphex
13d7e2bed2
Revert "(Zarch) Buildfix"
...
This reverts commit a3175a8fa3c4127b78582315f4082bcf8adf3bfc.
2018-04-11 06:10:59 +02:00