Commit Graph

41020 Commits

Author SHA1 Message Date
Twinaphex
5f0a9fffbb
Merge pull request #5827 from hiddenasbestos/input_driver_x11
Add new lightgun/mouse-bind features to X11 driver
2017-12-02 09:18:17 +01:00
twinaphex
a132e33231 Add copyright headers to ps3py 2017-12-02 05:17:14 +01:00
Brad Parker
067f5bcd16 blissbox: add 4-Play to overridden hid name 2017-12-01 22:40:17 -05:00
Brad Parker
0eb8c47166 try to fix lack of GUID type on buildbot that I cannot reproduce 2017-12-01 14:38:13 -05:00
Brad Parker
b9394846dc blissbox: use win32 HID API to get pad type on windows, libusb seems broken there 2017-12-01 14:07:40 -05:00
Twinaphex
64ef42c9f9
Merge pull request #5841 from orbea/revert-5824-retroarch-assets-makefile
Revert "Use RetroArch Assets' Makefile to install Assets"
2017-12-01 15:49:12 +01:00
orbea
5d5aa7ca60
Revert "Use RetroArch Assets' Makefile to install Assets" 2017-12-01 06:26:02 -08:00
Twinaphex
8e81b04374
Merge pull request #5840 from QuarkTheAwesome/wiiu-optional-controllerpatcher
[WiiU] Make controller_patcher a compile-time option
2017-12-01 09:20:25 +01:00
Ash
bf3e256a43
[WiiU] Input: Make controller_patcher a compile-time option
As discussed in libretro#5357; controller_patcher is now optional. It's
off by default; though this could be changed with a simple makefile
tweak (ENABLE_CONTROLLER_PATCHER ?= 1, perhaps?)

To re-enable controller_patcher; append ENABLE_CONTROLLER_PATCHER=1 to
your usual make command.

controller_patcher was the only user of c++ constructors in the Wii U
port, so you'll need 26a006c in your tree otherwise you will have a
blackscreen on startup.
2017-12-01 18:29:21 +11:00
Ash
26a006cfac
[WiiU] Toolchain: Fix C++ constructor/destructor handling
The old setup relied on there being at least one constructor *or* the
value of *__CTOR_LIST__ being NULL. Neither of these are guaranteed; and
having no C++ constructors actually resulted in a random value being
read (which passed the NULL check!). This new setup uses the
__CTOR_END__ symbol; which is a pointer to just after the end of the
list. When there are no constructors, it has the same value as
__CTOR_LIST__; so the while loop is never entered.

This fix also allows us to re-enable destructors; in case they're ever
needed.
2017-12-01 18:18:02 +11:00
Twinaphex
40a6136319
Merge pull request #5824 from RobLoach/retroarch-assets-makefile
Use RetroArch Assets' Makefile to install Assets
2017-12-01 07:53:29 +01:00
Twinaphex
f48460b114
Merge pull request #5835 from Q3CPMA/master
Really fixes HOST_NAME_MAX usage this time
2017-12-01 01:31:11 +01:00
Twinaphex
96987e7cac
Merge pull request #5836 from QuarkTheAwesome/wiiu-exception
[WiiU] Exception handler fixes - coreinit offsets now working
2017-12-01 01:30:40 +01:00
Ash
52fb8276d7
[WiiU] Exception handler: minor comment tweak 2017-12-01 11:03:09 +11:00
Ash
469662345f
[WiiU] Exception handler: remove opcodes; fix strcmp misuse
Thanks for @gblues for finding the strcmp bug.
I've removed the opcode display since it's a bit unsafe - if the
exception handler causes a DSI; Cafe OS will take over and freeze up the
console. This is obviously not a good thing. There are possible
situations where memory is executable and not readable; so this is just
about covering all bases until a better solution can be implemented.
Maybe we can experiment a bit more once this handler isn't being used so
often ;)
2017-12-01 10:56:54 +11:00
Ash
a79d3aa8aa
[WiiU] Exception handler: fix coreinit handles, add opcode to DSIs
Coreinit seems to get special handles, so adding a special case should
make its relative addresses actually become helpful again. Let's just
hope __PPCExit stays at 0x180!
Also added the violating opcode to the DSI message; may have to move it
in case it pushes stuff off the end of the screen.

Untested at time of commit. Hopefully this should make debugging #5357 a
bit easier...
2017-12-01 10:54:21 +11:00
q3cpma
6e8fb49d05 Whoops 2017-12-01 00:17:50 +01:00
Twinaphex
abfb9ec0b5
Merge pull request #5832 from Q3CPMA/master
Fixes compilation on FreeBSD (and hopefully on other POSIX platforms)
2017-11-30 22:24:47 +01:00
Twinaphex
b5567b52de
Merge pull request #5833 from theheroGAC/patch-26
Update msg_hash_it.h
2017-11-30 22:24:27 +01:00
theheroGAC
9ee5ef0f74
Update msg_hash_it.h 2017-11-30 21:54:59 +01:00
q3cpma
fa3aab9768 Fixes compilation on FreeBSD (and hopefully on other POSIX platforms) 2017-11-30 16:53:55 +01:00
David Walters
a9451822b5 Improved handling of libusb hotplug capability (#5830)
* Improved handling of libusb hotplug capability

* Only deregister hotplug callback if registration happened.
2017-11-30 10:30:46 -05:00
twinaphex
6c69002ab4 Start adding not-complete kqueue codepaths - bparker - see if you can
finish this up
2017-11-30 07:28:59 +01:00
twinaphex
62280439b7 Rename epfd to fd 2017-11-30 07:00:25 +01:00
Andrés
57d617cd5f
Merge pull request #5828 from fr500/master
allow building and debugging RetroArch from Visual Studio code automa…
2017-11-29 21:59:22 -05:00
twinaphex
2203deb499 Need to include config.h here 2017-11-30 03:43:51 +01:00
Brad Parker
9aeddb781a GlobalMemoryStatusEx only exists for 2000 and up 2017-11-29 19:33:39 -05:00
radius
562f7071f0 allow building and debugging RetroArch from Visual Studio code automatically on a MINGW64 (MSYS2) installation
this works if MSYS2 is installed in the default path

allow building RetroArch from the command pallete

Allow building, and starting RetroArch via vscode Tasks

use 3 whitespaces for tabs
2017-11-29 18:21:13 -05:00
Alcaro
4e66962ba8
#5664 2017-11-29 21:39:35 +00:00
David Walters
05578f0634 Show VID/PID values for unsupported devices. (#5825) 2017-11-29 15:56:18 -05:00
David Walters
5f095677a7 fix for wiiu build (#5826) 2017-11-29 15:55:31 -05:00
David Walters
7dfcc169de Add new lighgun/mouse-bind features to X11 driver 2017-11-29 18:32:58 +00:00
Andrés
cc2080c04f
Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2017-11-29 12:03:42 -05:00
Andrés
825887810b
Create PULL_REQUEST_TEMPLATE 2017-11-29 12:03:21 -05:00
Rob Loach
ed99c36851
Use retroarch-assets makefile to install assets 2017-11-29 11:46:11 -05:00
Brad Parker
5453853001 remove extra paren 2017-11-29 11:32:32 -05:00
Brad Parker
f41187df22 remove extra brace 2017-11-29 11:17:13 -05:00
Brad Parker
44b70efb68 style nits 2017-11-29 10:42:39 -05:00
Brad Parker
42e81dcef4 add back missing code from c5bdc02 2017-11-29 10:35:52 -05:00
Brad Parker
aa1f95b3d5 undo changes in c5bdc02 that reverted my previous commits: 34491a6 28c6237 1f58d9c 61bd9d7 2017-11-29 10:22:30 -05:00
Twinaphex
17d4793c3f
Merge pull request #5815 from bparker06/blissbox
initial Bliss-Box support
2017-11-29 06:59:13 +01:00
Brad Parker
5279b02dce travis: libusb package was in wrong place 2017-11-28 23:16:38 -05:00
Brad Parker
e2837d7dfb add libusb to travis file 2017-11-28 22:34:34 -05:00
Brad Parker
5a2dff0ff1 only use libusb code if we have support for it 2017-11-28 22:32:41 -05:00
Brad Parker
def24ef8eb blissbox: print message if detecting update mode or old firmware versions, override vid/pid check for autoconfig profiles, misc comments 2017-11-28 21:25:54 -05:00
Brad Parker
2dd64d9c11 Initial blissbox support, requires firmware 2.0. Currently limited to platforms with libusb support. 2017-11-28 18:25:12 -05:00
Brad Parker
224b581881 C89 buildfix 2017-11-28 11:43:32 -05:00
Twinaphex
eddeaddb17
Merge pull request #5813 from altiereslima/master
Updated Portuguese Translation
2017-11-28 17:03:24 +01:00
altiereslima
96b7fa46dc Updated Portuguese Translation 2017-11-28 13:58:03 -02:00
Twinaphex
d8af18881f
Merge pull request #5812 from hiddenasbestos/input_uint64_fixes
Controller 'get all buttons state' - replace uint64_t with retro_bits_t*
2017-11-28 16:42:40 +01:00