35903 Commits

Author SHA1 Message Date
Alcaro
e29fcd566a Merge pull request #4429 from GregorR/netplay-autosave-sram
Use autosave_lock and autosave_unlock during SRAM negotiation
2017-01-16 00:13:05 +01:00
Gregor Richards
a0f236a83f Use autosave_lock and autosave_unlock during SRAM negotiation
The SRAM transfer in netplay handshake now uses autosave_lock and
autosave_unlock. Will possibly fix a hang/crash bug on Android with
netplay and autosave conflicting.
2017-01-15 18:10:24 -05:00
twinaphex
4a9ca66389 (WGL) Check if settings struct is non-NULL 2017-01-15 23:58:14 +01:00
twinaphex
e3e8796b2b (iohidmanager_hid.c) Stylistic cleanups 2017-01-15 21:13:01 +01:00
Twinaphex
1544a3d6e1 (OSX) Fix warnings 2017-01-15 21:07:15 +01:00
Twinaphex
e4fa9f178c Merge pull request #4427 from CoalaJoe/improve-german-translation
Add german translation to help menue
2017-01-15 21:00:54 +01:00
Ashura
ff9d6e1ee8 Added some more translations 2017-01-15 20:56:04 +01:00
Ashura
0b029dc830 Ordered some code alphabeticaly 2017-01-15 20:33:16 +01:00
Ashura
15e8930604 Add german translation to help menue 2017-01-15 20:25:04 +01:00
Twinaphex
ddc11e2d17 Merge pull request #4426 from jprjr/osx-iohidmanager
OSX Joypad Improvements
2017-01-15 19:49:06 +01:00
John Regan
4f352227ea OSX Joypad Improvements
This commit has two main changes to the OSX HID driver:

1.

Some joysticks have invalid/incorrect 'use' assigned to buttons and
axes. For example, my RetroUSB.com Genesis Retroport reports 8 buttons,
but they're reported as 1, 2, 3, 4, 1, 2, 3, 4, and my RetroLink
Gamecube-clone controller reports 2 axes with id 50.

OSX assigns each of these elements a unique cookie value, so it's still
possible to uniquely identify a button. Whenever a controller is
connected, the driver scans for all buttons and axes. When it identifies
a duplicate 'use' id, it reassigns it a new ID.

Whenever the input callback is called, it grabs the cookie value,
finds the input element with a matching cookie, and uses that element's
id instead of the one reported by the device.

The old joystick configs should not be broken by this - I'm using the
existing 'use' value wherever possible, and only changing it when it's
broken.

The 'faked' ids are done in a deterministic way, a joystick will never
have a button's 'faked' id change between launches of RetroArch.

2.

This enables HAT switch input.
2017-01-15 12:17:47 -06:00
Alcaro
d2061b6f08 Merge pull request #4422 from GregorR/netplay-buf-nosignal
netplay_buf should use O_NOSIGNAL to avoid SIGPIPE
2017-01-15 17:01:00 +01:00
Gregor Richards
e9e7878b5c netplay_buf should use O_NOSIGNAL to avoid SIGPIPE 2017-01-15 10:59:25 -05:00
Alcaro
1a12381bfc Close #4419 2017-01-15 16:48:08 +01:00
Twinaphex
105fa863ec Merge pull request #4418 from vanfanel/master
DISPMANX: Put guard back in to avoid potential lockups!
2017-01-15 13:55:58 +01:00
vanfanel
5a1e8d55fb DISPMANX: Put guard back in to avoid potential lockups! 2017-01-15 13:47:30 +01:00
Twinaphex
35df333ac4 Merge pull request #4417 from vanfanel/master
DISPMANX: implement pitch alignment for better videocore blitting per…
2017-01-14 23:08:07 +01:00
vanfanel
869a050a18 DISPMANX: implement pitch alignment for better videocore blitting performance 2017-01-14 23:01:05 +01:00
twinaphex
69ebda74c4 FIx shader 2017-01-14 22:48:02 +01:00
Twinaphex
56fcbba4ed Merge pull request #4416 from fr500/master
speed this up a bit
2017-01-14 22:45:06 +01:00
radius
33863714ab speed this up a bit 2017-01-14 15:54:56 -05:00
twinaphex
ca5d798075 Add diff.diff 2017-01-14 21:35:00 +01:00
Twinaphex
473f3146e9 Merge pull request #4415 from fr500/master
add more fields
2017-01-14 21:24:06 +01:00
radius
eb8f086e35 add more fields 2017-01-14 15:16:59 -05:00
Twinaphex
64473d95fb Merge pull request #4414 from fr500/master
add ISSUE template
2017-01-14 21:13:39 +01:00
radius
e47aa13d57 add ISSUE template 2017-01-14 15:07:38 -05:00
twinaphex
c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e8f8c08531c3661041d0ded9bfeca51.
2017-01-14 21:02:30 +01:00
Alcaro
a73a90b701 Remove a bunch of unneeded parameters 2017-01-14 18:18:01 +01:00
Twinaphex
41881392ad Merge pull request #4408 from vanfanel/master
DISPMANX: Fix refreshrate calculation by updating menu surface asynch…
2017-01-14 17:05:17 +01:00
vanfanel
8640522073 DISPMANX: remove commented line 2017-01-14 15:56:54 +01:00
vanfanel
da640aaa28 DISPMANX: Honor swapchain setting properly 2017-01-14 15:54:20 +01:00
vanfanel
f0c2826994 DISPMANX: Fix refreshrate calculation by updating menu surface asynchronously 2017-01-14 14:38:18 +01:00
twinaphex
b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex
08e9f64e43 Get rid of early return in video_driver_build_info 2017-01-14 14:00:39 +01:00
twinaphex
326e1e3fac Cleanup video_driver_frame 2017-01-14 13:55:49 +01:00
twinaphex
6e52a25b86 Attempt to fix 'write to pointer after free' issues 2017-01-14 13:51:20 +01:00
twinaphex
4230662572 (X context) Use better swap control method if GLX_OML_sync_control
and GLX_MESA_swap_control are supported
2017-01-14 12:24:56 +01:00
twinaphex
d7e0a9005b (rsound.c) Update rsound 2017-01-14 09:38:45 +01:00
twinaphex
a8c9cd91d8 (wiiu) Cleanups 2017-01-14 09:35:52 +01:00
Twinaphex
a321e4a97b Merge pull request #4407 from webgeek1234/master
Fix android input where source is reported as a stylus
2017-01-14 05:10:17 +01:00
Aaron Kling
8a2585f8dc Handle motion events if source is touchscreen or mouse regardless
of other sources being set.

API level 9 doesn't support stylus, but still needs to be handled.
Current code throws out additional sources that it doesn't
recognize. This instead ignores whether other sources are set.
2017-01-13 18:37:50 -06:00
twinaphex
c162f21f9a Prevent another memory leak 2017-01-13 18:35:20 +01:00
twinaphex
a859d2dc3f Prevent memory leak 2017-01-13 18:24:24 +01:00
twinaphex
a4523e0b2b Initialize variable 2017-01-13 18:17:36 +01:00
twinaphex
23017e0b45 Cleanups 2017-01-13 16:57:57 +01:00
twinaphex
1fa3475d79 Add parameter to video_context_driver's 'init' function 2017-01-13 16:52:07 +01:00
twinaphex
fad63aa036 More header include removals 2017-01-13 16:41:08 +01:00
twinaphex
952f5e8d6e Remove some more configuration.h header includes 2017-01-13 16:39:43 +01:00
twinaphex
8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
twinaphex
6ed4de0d79 Create input_config_get_device_name 2017-01-13 16:02:10 +01:00