Commit Graph

37479 Commits

Author SHA1 Message Date
Twinaphex 37b2ebfcaa Merge pull request #4649 from fr500/master
Check if this string is null before trying to copy it
2017-02-16 00:36:27 +01:00
radius 14c1d48c66 update changelog 2017-02-15 18:26:18 -05:00
radius f00dd6f7c4 update changelog & copyright 2017-02-15 18:25:21 -05:00
radius 3a6c7b96fd prevent null check 2017-02-15 18:15:42 -05:00
Andre Leiradella 1b2685949a Fix for when net_http_get returns NET_HTTP_GET_OK but a NULL body 2017-02-15 21:30:47 +00:00
Twinaphex 37baccab99 Merge pull request #4647 from GregorR/netplay-reset
Support for reset in netplay
2017-02-15 21:40:42 +01:00
twinaphex db4b757843 Add missing file 2017-02-15 21:06:16 +01:00
twinaphex cd1b95220a Add miniupnpc dependency which can be optionally compiled in 2017-02-15 21:03:57 +01:00
Gregor Richards 4c1abfaa71 Support for reset in netplay
This patch transfers core_reset across netplay. Resets effectively
worked before thanks to check_frames, but this makes resets work even
without check_frames, and in particular should allow resets to force
sync in savestateless cores, bringing them one step closer to actually
being usable by non-experts.
2017-02-15 14:40:37 -05:00
Twinaphex d0b29f3d8e Merge pull request #4646 from dankcushions/patch-1
Change to advanced settings: auto_remaps_enable & auto_overrides_enable
2017-02-15 18:59:43 +01:00
dankcushions 6309b21252 Change to advanced settings: auto_remaps_enable & auto_overrides_enable
There seems to be no reason to show these options as they default to true and there's no reason to disable them unless you were debugging something (and even then...)

Maybe even remove the option entirely?
2017-02-15 15:15:09 +00:00
twinaphex 8da9acd1fe Rename variable 2017-02-15 12:03:25 +01:00
Twinaphex f84b6e9020 Merge pull request #4645 from fr500/master
Fix #4644
2017-02-15 11:49:45 +01:00
Twinaphex 604b49f7d3 Merge pull request #4640 from diablodiab/android-mouse-support
Add external mouse support and touch screen mouse emulation to Android input driver
2017-02-15 11:48:53 +01:00
radius 71b397902a better variable name 2017-02-15 01:42:44 -05:00
radius a67935404d fix logging to file 2017-02-15 01:40:04 -05:00
Diablodiab 4f039cac22 This adds external mouse support to the Android input driver. It also adds support for using the touch screen as mouse in cores with mouse support (eg. ScummVM).
It has been tested with the ScummVM core on:
- NVIDIA Shield TV running Android Nougat 7.0
- NVIDIA Shield Tablet running Android Nougat 7.0
- NVIDIA Shield Tablet running Android Lollipop 5.1
- Huawei Honor 7 running Android Marshmallow 6.0
- HTC Desire 500 running Android Jelly Bean 4.1

It's been tested using the touch screen, a USB mouse/keyboard combo, and a bluetooth mouse.

The Android version running on the device limits the functionality and user experience of the external mouse support.
Android Nougat and/or an NVIDIA SHIELD device with NVIDIA extensions provides the best user experience:

Android API < 14:
- Only left mouse button supported
- The Android mouse cursor will be visible along with the in game mouse cursor
- When the Android mouse cursor hits the edge of the screen it will not be possible to move the in-game mouse cursor further in that direction

Android API < 24 and no NVIDIA extensions available:
- Both left and right mouse buttons supported
- The Android mouse cursor will be visible along with the in game mouse cursor
- When the Android mouse cursor hits the edge of the screen it will not be possible to move the in-game mouse cursor further in that direction

Android API > 23 and/or NVIDIA extensions available (SHIELD devices):
- Both left and right mouse buttons supported
- The Android mouse cursor will be hidden
- The mouse is not limited by the (hidden) Android mouse cursor hitting the edge of the screen

Description of how the the touchscreen mouse support works:
- You can move the in-game mouse cursor using the touch screen. The in-game mouse cursor will move relative to your movements on the touch screen, it will not be centered on where you press the screen.
- One quick tap on the touch screen results in the left mouse button being clicked
- Two taps on the screen and keeping the second tap pressed down results in a left mouse being held down until you release
- Two fingers on the touch screen results in the right mouse button being clicked

The touch screen mouse functionality is active at the same time as overlay support. This might cause some confusion when using cores that are designed for mouse support but where you have also enabled overlay controls. At the top of android_input.c there's a define that can be used to turn off this functionality if it causes more problems than it solves.
2017-02-14 22:34:46 +01:00
Brad Parker d8e38bedf0 fix heap corruption in core info extension list 2017-02-14 13:50:42 -05:00
Twinaphex a624e617ed Merge pull request #4639 from bparker06/9slice
add 9-slice texture draw function and selectable texture filter type
2017-02-14 17:16:38 +01:00
Brad Parker 75a96b10bb add 9-slice texture draw function and selectable texture filter type 2017-02-14 11:04:21 -05:00
Twinaphex e05a8a7460 Add HAVE_SEGA 2017-02-14 10:30:28 +01:00
Brad Parker 8aa8d6ff6b MSVC2005: add winmm.lib to linker, needed by rthreads changes in f4c187e 2017-02-14 02:39:26 +00:00
Brad Parker 6d821132f5 msvc buildfix 2017-02-14 02:37:25 +00:00
Andrés a8f2f94bf6 Merge pull request #4637 from pedrib/patch-1
Fix dualshock 3 detection bug
2017-02-13 19:50:29 -05:00
Pedro Ribeiro 6659c6af3a Fix dualshock 3 detection bug 2017-02-13 21:52:53 +00:00
Brad Parker 91ebcc0680 revert 6e969d0, but need to investigate if the original change to string_is_equal is valid 2017-02-13 15:37:34 -05:00
Brad Parker 6e969d0bc6 should be !string_is_equal 2017-02-13 15:12:04 -05:00
twinaphex 0143b537a8 Avoid warnings 2017-02-13 20:24:27 +01:00
twinaphex 07881d9f4f Buildfix 2017-02-13 19:11:32 +01:00
Twinaphex b52bdeb038 Merge pull request #4634 from hizzlekizzle/master
More French fixes
2017-02-13 19:01:29 +01:00
hizzlekizzle 04904c5c9e whoops, double-quotes typoed in. 2017-02-13 11:48:43 -06:00
hizzlekizzle 854fd3f1f9 More French fixes
Courtesy of forum user Tromzy, once again. Much appreciated!
2017-02-13 11:33:11 -06:00
Twinaphex ab7ac777d7 Merge pull request #4628 from rootfather/intl-de
Finish the rewrite of the German translation
2017-02-13 17:52:11 +01:00
Twinaphex 31c65140c4 Merge pull request #4631 from hizzlekizzle/master
French remap save and load had the same word (charger)
2017-02-13 17:52:01 +01:00
Twinaphex 4241e4fedb Merge pull request #4632 from Themaister/master
Vulkan: Find supported composite alpha in swapchain.
2017-02-13 17:51:41 +01:00
Hans-Kristian Arntzen 6395907887 Vulkan: Find supported composite alpha in swapchain. 2017-02-13 16:30:02 +01:00
hizzlekizzle 31a62a63f6 Remap save and load had the same word (charger)
Thanks to forum user Tromzy for the heads-up!
2017-02-13 09:22:15 -06:00
rootfather b5c87b68f8 Claim copyright for msg_hash_de.c 2017-02-13 15:12:03 +01:00
rootfather c8f3c15cf5 Finish the rewrite of the German translation 2017-02-13 13:27:40 +01:00
Twinaphex d7ff3c809f Merge pull request #4627 from fr500/master
fix #4625
2017-02-13 12:48:06 +01:00
radius 28deb34742 fix #4625 2017-02-13 01:24:48 -05:00
Twinaphex 66c3599019 Merge pull request #4622 from rootfather/intl-de
Add some more strings to German translation
2017-02-12 23:44:31 +01:00
rootfather 672add6cab Add some more strings to German translation 2017-02-12 22:32:24 +01:00
Twinaphex e9cbde3188 Merge pull request #4621 from vanfanel/master
DISPMANX: Disable triple buffering for now, for stability reasons.
2017-02-12 19:36:01 +01:00
vanfanel 0b75671c21 DISPMANX: Disable triple buffering for now, for stability reasons. 2017-02-12 19:27:59 +01:00
Andrés 89244d0e58 Merge pull request #4620 from leiradel/master
Only compile support for leaderboards if CHEEVOS_ENABLE_LBOARDS is de…
2017-02-12 12:02:50 -05:00
Andre Leiradella 4fc758799f Only compile support for leaderboards if CHEEVOS_ENABLE_LBOARDS is defined 2017-02-12 16:18:32 +00:00
Twinaphex 55de1ff8c6 Merge pull request #4619 from diablodiab/android-ui-parameters
Add two new UI specific extras to Android version
2017-02-12 14:59:02 +01:00
Diablodiab 77e479a8bc Adds two new parameters that can be passed to the Android version of Retroarch at launch:
QUITFOCUS
If enabled this will cause Retroarch to quit completely when it loses focus (eg. when the home button is pressed). This is useful when you are using an alternative launcher such as Kodi because it will make the home button function as an alternative quit key, return to the alternative launcher, and then allow for a different game to start instead of returning to the current session.

HIDEMOUSE
Normally it is not possible to hide the mouse cursor if you have attached an external mouse to your Android unit. This makes it difficult to implement mouse support in the Android version of Retroarch because you will end up having two mouse cursors on the screen. NVIDIA has implemented extensions on the SHIELD that allows for hiding the mouse cursor. If this parameter is provided when starting Retroarch it will check for these extensions and if available it will hide the mouse cursor.

(I am almost done with adding mouse support to the Android input driver and will be submitting a suggestion for this very soon)
2017-02-12 13:26:18 +01:00
Twinaphex 66ff3db2e2 Merge pull request #4618 from rootfather/intl-de
Add more strings to the German translation
2017-02-12 11:34:13 +01:00