Commit Graph

61211 Commits

Author SHA1 Message Date
Bashar Astifan
b93599c7e0
UWP OnSuspending and save on quit fix (#14452)
* Update uwp_main.cpp

* Update retroarch.c
2022-10-01 14:28:23 +02:00
LibretroAdmin
5bfe70221c Revert "UWP OnSuspending crash fix (#14372)"
This reverts commit 6226d0442f.
2022-10-01 00:27:22 +02:00
LibretroAdmin
4251eb5f61 Turn uwp_mkdir_impl function static 2022-09-30 17:50:07 +02:00
GABO1423
9586d679a8
(UWP) Bump up version number (#14448)
* (UWP) Bump Version Number for msvc2019

* (UWP) Bump up Version Number for msvc2017
2022-09-30 03:04:45 +02:00
LibretroAdmin
fcdb383dc6 Update CHANGES.md 2022-09-29 22:59:02 +02:00
LibretroAdmin
d3cb2b2ba9 Bump up to 1.11.0 2022-09-29 22:49:56 +02:00
LibretroAdmin
3c81e21589
Massive changelog for 1.11.0 2022-09-29 21:18:48 +02:00
github-actions
a16725f47c Fetch translations from Crowdin 2022-09-28 00:21:25 +00:00
Cthulhu-throwaway
f584f7a5f8
(Netplay) Fix for another incorrect operator (#14444) 2022-09-27 13:01:52 +02:00
github-actions
3cdccb6b90 Fetch translations from Crowdin 2022-09-27 00:20:42 +00:00
Cthulhu-throwaway
ecccdd5484
(Netplay) Fix for an incorrect operator (#14443) 2022-09-26 17:57:30 +02:00
LibretroAdmin
1571035fb7 (DS3/connect) Fix some warnings 2022-09-26 16:12:31 +02:00
gblues
a4b934b71a
Fix some HID bugs (#14435)
* Fix Sixaxis gamepad operation

== DETAILS
It looks like commit 78e7d23c14 broke
the DualShock. Sorry, @revvv, but this is probably going to break the
Retrode driver. We'll need to figure out a different solution.

* Fix a bunch of HID implementations

== DETAILS
As mentioned in the previous commit, the thing that broke the DS3
driver was a change to the wiiu HID handler, which did some pointer
math on the data buffer.

The thing is.. there's no reason to do that pointer math. Yet, I found
the same thing on almost every other HID driver: OSX, libusb, wiiusb.
The only other HID driver that did not do this was the Bluetooth
HID driver.

It doesn't make any sense. The only reason it doesn't crash is because
the memory right before the buffer is valid memory.

Change summary:
- remove the weird pointer math from all HID controllers
- remove the `#ifdef apple ...` in the ds3 and gamecube adapter
  drivers, because it's no longer needed.
- in the pad packet handlers, decrement data buffer offset references
  to account for the removal of the buffer manipulation.

* Fix DualShock 4

== DETAILS
Should've only subtracted 1, not 2; and now the pad works.

Also, added a PID to cover newer model DS4s. I picked "R2" out of the air
for the constant.

Tested on Mac OS

* Really really fix iohidmanager_set_report

A huge apology to @23rd for insulting your fix. I was wrong to call you
wrong.

That left the question: why did that change break the DS3?

Well, it's because `IOHIDDeviceSetReport` expects the report buffer to be
just the report. All of RA's HID SetReport calls include the report number
in the first byte, so we have to trim that off.

We actually do this in a different invocation of `IOHIDDeviceSetReport`
elsewhere in the file! This commit applies that same logic to
`iohidmanager_set_report`

This has two benefits:

1. The DS3 works
2. The DS3 no longer requres the user to press the PS button to activate
   it the first time. You plug it in and it Just Works, just like on Wii U.
2022-09-26 14:32:49 +02:00
sonninnos
e902df3b0d
(XMB) Add options for hiding header and horizontal title margin (#14439) 2022-09-26 12:57:20 +02:00
github-actions
614e502b41 Fetch translations from Crowdin 2022-09-26 00:16:23 +00:00
MrHuu
a878bd3f95
(Network) Adapt POLL for 3DS platform (#14431) 2022-09-25 17:15:56 +02:00
Bobby Smith
440264778d
Fix incorrect lines in .cht files for 'cheat10' and above (#14436) 2022-09-25 17:15:07 +02:00
GABO1423
403eaef516
(UWP) Remove expandedResources (#14438) 2022-09-25 17:14:52 +02:00
github-actions
08ccc59e3c Fetch translations from Crowdin 2022-09-23 00:15:49 +00:00
Bobby Smith
cd93bdc058
Fix "Windowed Scale" dropdown menu (#14433) 2022-09-22 12:58:56 +02:00
github-actions
0973e8d4b0 Fetch translations from Crowdin 2022-09-22 00:15:00 +00:00
github-actions
ab57d3cab7 Fetch translations from Crowdin 2022-09-20 00:18:11 +00:00
23rd
171a79e879
Fixed sending of report id to HID device on macOS. (#14430) 2022-09-19 18:01:27 +02:00
github-actions
568d788d54 Fetch translations from Crowdin 2022-09-19 00:13:32 +00:00
Filipe Azevedo
c10a4d632f
Fix label sanitization (#14428)
This simplify and trim whitespaces left.
ie, starting, trailing and multiple consecutive whitespaces are now
removed.
2022-09-18 19:25:21 +02:00
github-actions
e8f4425eed Fetch translations from Crowdin 2022-09-18 00:14:04 +00:00
yesfish
c1309a34c2
Fix video_layout fbo (#14418) 2022-09-18 01:16:05 +02:00
sonninnos
b014a9ef98
Move PLAYLIST_SHOW_HISTORY_ICONS upwards (#14427) 2022-09-18 01:15:33 +02:00
Cthulhu-throwaway
9346a15864
(Netplay) Move some timed features from frame count to a timer (#14419) 2022-09-18 01:15:19 +02:00
MrHuu
dbba69a2d1
(Network) Check connect errno for successful connection (#14420) 2022-09-18 01:15:09 +02:00
github-actions
83ce6f42d9 Fetch translations from Crowdin 2022-09-16 00:15:20 +00:00
sonninnos
8842603165
Online Updater menu reorganizing (#14414) 2022-09-15 09:24:35 +02:00
github-actions
262d9720fe Fetch translations from Crowdin 2022-09-15 00:13:48 +00:00
Jamiras
ec333e261f
Update wording for hardcore (#14413) 2022-09-14 02:42:35 +02:00
github-actions
c16a50f1dd Fetch translations from Crowdin 2022-09-14 00:14:28 +00:00
LibretroAdmin
be044c09dd Disable Feral GameMode for Android - only available on Linux 2022-09-13 19:29:45 +02:00
LibretroAdmin
ce8389d4a6 (menu_setting.c) Remove code duplicated functions 2022-09-13 11:06:37 +02:00
LibretroAdmin
b32b1f277b Disable HAVE_IFINFO for MSVC 2003/2005 builds 2022-09-13 10:53:15 +02:00
LibretroAdmin
045fd38f19 Reduce tertiary operators 2022-09-13 10:28:03 +02:00
LibretroAdmin
c1709f2218 (gfx_widget_load_content_animation) Get rid of strlen 2022-09-13 09:14:43 +02:00
LibretroAdmin
c5d70d49e5 (gfx_widgets_progress_message) Cut down on another strlen 2022-09-13 03:58:54 +02:00
LibretroAdmin
5e8987839e (gfx_widgets) Cut down on strlens 2022-09-13 03:57:05 +02:00
github-actions
663b5eed9d Fetch translations from Crowdin 2022-09-13 00:13:53 +00:00
tr12345
8cc866b051
New Menu Items for disabling Info & Search buttons in the menu (#14259)
* New Menu Items Disable Info & Search

Add menu options for disabling Info and   Search buttons

* Update msg_hash_us.h

Update Sublabels

* Update menu_setting.c

Set Advanced flag for new settings
2022-09-12 23:17:24 +02:00
LibretroAdmin
36d60f6bf4 (Ozone/MaterialUI/RGUI/XMB) Get rid of some tertiary operators - was basically reassigning the same
value
2022-09-12 22:20:03 +02:00
MrHuu
911308327d
(3DS) Set default bottom font values (#14404) 2022-09-12 01:44:02 +02:00
LibretroAdmin
75757d7d02 Remove unused DXGI inline functions 2022-09-11 23:15:25 +02:00
LibretroAdmin
da094eeb2f Remove unused XMB_DEBUG 2022-09-11 19:53:44 +02:00
gblues
cdd39a6364
MacOS: Fix Sixaxis (DS3) support (#14402)
* MacOS: Fix sixaxis on MacOS 12.x

== DETAILS
Mac OS 12.x "Monterey" dropped some built-in support for the
Sixaxis controller--exactly what changed is unclear, but other
projects reported similar issues with the OS.

This commit ports the work done on SDL, which is basically to
read two feature reports after writing out the activation report.
I think we did this at one point in the past, but it got lost
among HID driver rewrites.

I've tested this locally and it resolves the issue; after connecting
the sixaxis and pressing the Playstation button, the pad is registered
and works successfully.

I have not tested this on other platforms.

* Gracefully handle incomplete HID implementations

== DETAILS
Not all HID drivers implement all HID methods; since this controller
has a magic sequence that requires the ability to set and get HID
reports, we need to make sure we don't crash if we're running on
an incomplete implementation.

- Add a null check for the driver methods and log useful info if checks
  fail
- Fix minor formatting
2022-09-11 09:40:38 +02:00
MrHuu
422d2fcf12
(3DS) Fix CIA installation issues (#14399)
- Fixes CIA installation failing
- Add CIA installation progress stats
2022-09-11 02:57:31 +02:00