43383 Commits

Author SHA1 Message Date
Dwedit
ee0afec787 Fix build errors on machines without HAVE_DYNAMIC 2018-04-06 20:08:18 -05:00
Tatsuya79
299c808e22 Shorten text when 2nd thumb is on the right. 2018-04-06 22:47:49 +02:00
Tatsuya79
de080151cc Remove excessive blend calling. 2018-04-06 16:25:32 +02:00
gblues
4433cbebc6 Get digital inputs for Sony DualShock 3 working
== DETAILS

- fix the bitshift math
- read the right bytes out of the ds3 data packet
- remove verbose logging in critical path
- stop caring about errors in the hid read loop -- seems to just
  be benign "device not ready" -- or at least, that's what I'm assuming
  given that the read eventually succeeds.

== TESTING
Played Mario 3 with the DS3 with no issues.
2018-04-05 23:03:38 -07:00
Tatsuya79
1fadc2e148 Fix image preview sometimes on both thumbs. 2018-04-06 00:59:35 +02:00
Twinaphex
3e699cf00b
Merge pull request #6532 from Dwedit/master
Runahead: Move Callback Init calls to after load content (fixes Mesen crashing)
2018-04-05 23:25:55 +02:00
Dwedit
f37ed2f7e1 Move callback init calls to before set_controller_port_device calls. 2018-04-05 15:42:20 -05:00
Dwedit
e42edbf032 Move Callback Init calls to after load content (fixes Mesen crashing) 2018-04-05 15:34:27 -05:00
Twinaphex
9c5a7a7453
Merge pull request #6531 from altiereslima/master
Updated Portuguese-BR translation
2018-04-05 17:20:35 +02:00
Tatsuya79
e78aedbb6c
undo copyright change 2018-04-05 17:08:33 +02:00
altiereslima
1315e26ffa update 2018-04-05 11:46:11 -03:00
altiereslima
dc901f6e1e Updated Portuguese-BR translation 2018-04-05 11:41:52 -03:00
Tatsuya79
ad0a36b825 XMB thumbnails vertical disposition. 2018-04-05 00:52:46 +02:00
gblues
46dad14d5f Merge branch 'master' into gblues/hid 2018-04-03 20:30:06 -07:00
Twinaphex
cc177d9622
Merge pull request #6523 from hiddenasbestos/msvc
Fix several issues with building using Visual Studio 2015 and 2017
2018-04-03 20:00:08 +02:00
David Walters
b5b906bc5a Fix for fatal error C1128 in 64-bit Debug builds (by adding /bigobj to command line) 2018-04-03 18:41:34 +01:00
David Walters
c8a9f5eded Compile fix for _vsnprintf_s, missing standard library header. 2018-04-03 18:33:48 +01:00
David Walters
7adec98cd8 Fix MSVC2015 project/solution build config associations 2018-04-03 18:25:23 +01:00
David Walters
852c8735e6 Fix solution file to be Visual Studio 14 / "2015" format. 2018-04-03 18:21:10 +01:00
Twinaphex
2d2094575e
Merge pull request #6520 from retro-wertz/patch-1
Fix false [ERROR] when closing content
2018-04-03 13:14:16 +02:00
gblues
af08e5015a More work on Dual Shock 3 driver
== DETAILS

- update to not try starting the read loop until after the device
  is successfully initialized
- add new HID wrapper macros needed by ds3 driver
- add some debug logging to help with troubleshooting
- add button map for DS3

== TESTING
Tested with local build. DS3 init is not working.
2018-04-02 23:16:49 -07:00
retro-wertz
55450a5d73
Fix false [ERROR] when closing content
filestream_delete() returns 0 on success, and -1 on failure.
This PR removes this false error when closing content.

e.g.
[ERROR] Failed to remove temporary file: /EMULATORS/ConsoleRoms/Nintendo - Nintendo Entertainment System/Super Mario Bros. (World).nes.
2018-04-03 12:08:53 +08:00
Twinaphex
0b62a0f6e2
Merge pull request #6519 from bearoso/master
Add workarounds based on window manager for override-redirect.
2018-04-03 04:05:26 +02:00
twinaphex
00a3aba480 Define HAVE_RUNAHEAD for dynamic linked iOS 2018-04-03 03:48:59 +02:00
Brandon Wright
9f15e39114 Also use the original fallback designed for older window managers. 2018-04-02 20:21:32 -05:00
Brandon Wright
0a5e65dc06 Add workarounds based on window manager for override-redirect. 2018-04-02 20:01:14 -05:00
gblues
9bc5a15c2d Enable pads to register in any order
== DETAILS

Whereas the last commit had a hack (that disabled the wiimote
driver in the process), this has.. well, a *different* hack that
allows pads to register in any order.

Note that due to the initialization routines, the gamepad will still
likely always get slot 0. Not sure if this can be overridden via config
or not.

== TESTING

Tested locally with GC adapter
2018-04-01 18:52:26 -07:00
Twinaphex
ab00d587d8
Merge pull request #6510 from bearoso/master
Add back override-redirect to allow G-SYNC
2018-04-02 01:57:27 +02:00
Twinaphex
19a6375ec6
Merge pull request #6509 from Dwedit/master
Make RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE work on the secondary core
2018-04-02 01:56:43 +02:00
Dwedit
a275242aef C89 compliance and line spacing rules 2018-04-01 17:54:03 -05:00
Brandon Wright
8356300c3e Apply the same fix to xegl_ctx.c 2018-04-01 17:47:47 -05:00
Brandon Wright
64686d8106 Set override-redirect on true fullscreen, but after window is mapped. 2018-04-01 17:47:27 -05:00
Dwedit
78c8a9b197 Make RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE work on the secondary core 2018-04-01 17:34:54 -05:00
twinaphex
015facee70 (XMB) Cleanups 2018-04-01 18:23:37 +02:00
gblues
2cf89feb86 Code clean-up
== DETAILS

Now that I have a working implementation, it's time to tidy up a bit:

- there was no need for the HID subsystem's object data to have a reference
  to the global hid state (since it's global), so removed it.
- refactored the users of that member to use the global state, defining
  reusable macros.
- reorganized the information in *.h files
- removing the hid state also made the constructor changes to the hid driver
  unneeded, so I reverted those changes.

== TESTING
Confirmed clean build. Haven't tested the build yet to make sure everything
still works, though.
2018-03-31 22:25:30 -07:00
Twinaphex
28b9a38d7d
Merge pull request #6504 from Dwedit/secondary_core_bug_fix
Fixed initializing controller port map.
2018-03-31 21:09:02 +02:00
Dwedit
80b8410b0f Forgot to initialize controller port map, this caused VBA-M to crash when creating the secondary core. Now fixed. 2018-03-31 12:15:14 -05:00
Twinaphex
611cc52661
Merge pull request #6500 from Tatsuya79/master
XMB Right Thumbnail rework.
2018-03-31 14:13:25 +02:00
Twinaphex
f7fa5844f2
Merge pull request #6502 from Dwedit/master
Runahead: Stop savestate transmission in netplay
2018-03-31 11:36:46 +02:00
gblues
39e4167df6 Start work on DualShock 3 driver
== DETAILS

The WiiU GC adapter is working!

Next up: DualShock 3

I have the skeleton of the driver started, need to work out the
activation packet.

== TESTING

The DS3 driver is broke as hell right now.
2018-03-30 23:00:14 -07:00
Dwedit
6b77a66298 get rid of the unnecessary typedef 2018-03-31 00:55:37 -05:00
Dwedit
15472eb184 Stop savestate transmission in netplay 2018-03-31 00:45:20 -05:00
Twinaphex
a869cb5a7d
Merge pull request #6501 from Dwedit/fast_savestate_flag_2
Fast Savestate and Hard Audio Disable flags in RETRO_ENVIRONMENT_GET_AUDIO_VIDEO_ENABLE
2018-03-31 04:54:09 +02:00
twinaphex
9164bcc244 Add HAVE_RUNAHEAD to Android 2018-03-31 04:22:18 +02:00
gblues
d65bd90e67 Fix GC pad button mapping 2018-03-30 18:57:34 -07:00
Dwedit
36d33deb30 Add message about load state expected to succeed. 2018-03-30 20:41:52 -05:00
Dwedit
ec6d6e58d6 Fast Savestate and Hard Audio Disable flags 2018-03-30 20:35:52 -05:00
Tatsuya79
0c0cad8630 XMB Right Thumbnail rework. 2018-03-30 23:53:16 +02:00
twinaphex
cf4ab13281 Revert "Silence some Clang static analyzer warnings"
This reverts commit 2c882a01c12cd3104964c70f95b4037fdd6dc4e5.
2018-03-30 19:28:37 +02:00
twinaphex
b24433a9f2 Hack - make diagonal 5.0f for mobile, 6.5f for desktop 2018-03-30 16:05:45 +02:00