JosJuice
f5da6e07d7
Android: Use correct encoding when converting strings
...
The functions with "UTF" in the name use "modified UTF-8" rather
than the standard UTF-8 which Dolphin uses, at least according
to Oracle's documentation, so it is incorrect for us to use them.
This change fixes the problem by converting between UTF-8 and
UTF-16 manually instead of letting JNI do it for us.
2020-07-08 14:52:05 +02:00
JosJuice
38791eec18
Common: Never convert from UCS-2 in WStringToUTF8
...
Probably not something we would run into in practice since
Windows uses a separate implementation, but let's do it
for the sake of correctness.
2020-07-08 14:51:35 +02:00
JosJuice
15d9fab0bb
Common: Rename UTF16ToUTF8
...
This function does *not* always convert from UTF-16. It converts
from UTF-16 on Windows and UTF-32 on other operating systems.
Also renaming UTF8ToUTF16 for consistency, even though it
technically doesn't have the same problem since it only was
implemented on Windows.
2020-07-08 14:51:35 +02:00
LC
87287181dd
Merge pull request #8907 from JosJuice/android-overlay-stick-gate
...
Android: Use octagonal stick gate in overlay
2020-07-08 08:50:47 -04:00
LC
a5166be995
Merge pull request #8896 from JosJuice/android-game-details-scroll
...
Android: Wrap game details dialog in ScrollView
2020-07-08 08:48:42 -04:00
LC
5a696f4934
Merge pull request #8906 from JosJuice/android-button-id-typo
...
Android: Fix button ID typo
2020-07-08 08:47:33 -04:00
LC
4c50eadf34
Merge pull request #8908 from jordan-woyak/wiimote-battery-hax
...
WiimoteCommon: Tweak battery level math.
2020-07-08 08:46:58 -04:00
LC
b9ae7c350e
Merge pull request #8926 from JosJuice/sysconf-sound
...
DolphinQt: Expose SYSCONF sound setting
2020-07-08 08:41:23 -04:00
LC
0bff77d9e4
Merge pull request #8925 from JosJuice/tas-turbo-interval
...
DolphinQt: Allow customizing TAS input turbo interval
2020-07-08 08:40:46 -04:00
LC
25118e2acc
Merge pull request #8928 from Ebola16/ADSL
...
Android: Update "Speed Limit" for "Unlimited" value
2020-07-08 08:39:44 -04:00
LC
a1195fbf91
Merge pull request #8933 from jordan-woyak/gcadapter-nyko
...
InputCommon/GCAdapter: Fix offbrand "GCAdapters".
2020-07-08 08:38:52 -04:00
LC
cd51552fe4
Merge pull request #8939 from JosJuice/oops
...
Android: Convert some files to LF
2020-07-08 08:35:09 -04:00
LC
46fd6b3924
Merge pull request #8942 from JosJuice/reword-forced-msaa
...
Reword "Please avoid forcing Dolphin to use MSAA by the driver" message
2020-07-08 08:30:17 -04:00
JosJuice
6f298378a1
Reword "Please avoid forcing Dolphin to use MSAA by the driver" message
...
Some users who get this error don't seem to gain much understanding
of how to resolve the problem from reading the error message.
2020-07-08 11:34:36 +02:00
Jordan Woyak
f2fd5c7f90
InputCommon/GCAdapter: Fix offbrand "GCAdapters" with a libusb_control_transfer call.
2020-07-07 14:45:19 -05:00
JosJuice
c89828b22e
Android: Convert some files to LF
...
I wonder why lint didn't catch this...
2020-07-06 17:04:58 +02:00
Tilka
0dbe8fb2ea
Merge pull request #8934 from JosJuice/zstd-recommended
...
DolphinQt: Mark Zstandard as recommended for RVZ
2020-07-05 12:09:29 +01:00
JosJuice
7a45ca0334
DolphinQt: Mark Zstandard as recommended for RVZ
2020-07-05 12:52:59 +02:00
Tilka
23ecda7ed0
Merge pull request #8931 from JosJuice/use-isdateldisc
...
DiscIO: Use Volume::IsDatelDisc in VolumeVerifier
2020-07-05 10:37:11 +01:00
JosJuice
74f74ac928
DiscIO: Use Volume::IsDatelDisc in VolumeVerifier
...
I forgot to do this in the PR where I added Volume::IsDatelDisc.
2020-07-04 20:24:26 +02:00
Tilka
4f98653ec6
Merge pull request #8930 from JosJuice/datel-scrub-ignored
...
DolphinQt: Fix scrubbing not being disabled for Datel discs
2020-07-04 14:49:34 +01:00
Tilka
c5a3882617
Merge pull request #8929 from JosJuice/datel-covers
...
DiscIO: Fix downloading covers for non-GNHE5d Datel discs
2020-07-04 14:07:46 +01:00
JosJuice
5360ec80c8
DolphinQt: Fix scrubbing not being disabled for Datel discs
...
The code for disabling scrubbing for RVZ was overriding the code
for disabling scrubbing for Datel discs.
2020-07-04 15:06:05 +02:00
JosJuice
fb922781e7
RedumpVerifier: Treat Datel game IDs as empty
...
Replacement for the reverted commit
f9705fd117
.
2020-07-04 15:00:02 +02:00
JosJuice
f24566bf39
DiscIO: Add Volume::IsDatelDisc
2020-07-04 14:51:13 +02:00
JosJuice
f9aaf8b971
Revert "Return nothing from VolumeWii::GetGameTDBID if Datel"
...
This reverts commit f9705fd117
.
GameTDB.com has covers for non-GNHE5d Datel discs.
2020-07-04 14:45:15 +02:00
Ryan Meredith
9438b3cab2
Android: Update "Speed Limit" for "Unlimited" value
2020-07-04 03:26:44 -04:00
Connor McLaughlin
9c12a843f8
Merge pull request #8884 from iwubcode/freelook_performance_fix
...
VertexShaderManager: Only look for freelook config changes if we're using freelook
2020-07-04 14:19:59 +10:00
JosJuice
e1e57fc359
DolphinQt: Expose SYSCONF sound setting
2020-07-02 22:25:41 +02:00
iwubcode
0441d6aa5e
VertexShaderManager: Avoid accessing freelook control type configuration each call which caused a performance hit, move check to RenderBase where it is checked when config changes
2020-07-02 12:55:08 -05:00
JosJuice
1c4088e203
DolphinQt: Allow customizing TAS input turbo interval
...
As a side effect of 9c5c3c0
, Dolphin's frame counter was changed
to run at 60/50 Hz even if the game is running at a lower framerate
such as 30 fps. Since the TAS input turbo button functionality
toggled the state of a button every other frame as reported by
the frame counter, this change made the turbo button functionality
not work with 30/25 fps games.
I believe it would be hard to change the frame counter back to
how it used to work without undermining the point of 9c5c3c0
,
and I'm not sure if doing so would be desireable or not anyway,
so what I'm doing instead is letting the user determine how long
turbo button presses should last. This lets users avoid the 30/25
fps game problem while also granting additional flexibility.
Perhaps there is some game where it is useful to mash at a speed
which is slower than frame perfect.
2020-07-02 16:58:29 +02:00
Filoppi
4b5ca9923c
Fixes the timer returning 1 when it should return 0. The case mentioned by the comment does not exist anymore.
...
Also added a IsRunning function as it was impossible to know whether it had been started or not (I will use it in later PRs but it should be there anyway)
2020-07-01 22:29:30 +03:00
JosJuice
38b36536b2
Merge pull request #8919 from MerryMage/fma
...
JitArm64_Paired: Fix ps_msub when d == b
2020-07-01 21:22:35 +02:00
MerryMage
a10447eae2
JitArm64_Paired: Fix ps_msub when d == b
2020-07-01 20:11:54 +01:00
Markus Wick
2147707641
Merge pull request #8870 from Tilka/arm_fma
...
JitArm64: no intermediate rounding for FMA
2020-07-01 18:13:09 +02:00
Tillmann Karras
a04ac23794
JitArm64: no intermediate rounding for paired FMA
2020-07-01 00:24:08 +01:00
Tillmann Karras
2a46c1f86f
JitArm64: annotate intentional fallthrough
2020-07-01 00:10:15 +01:00
JosJuice
458ef11ad6
Translation resources sync with Transifex
2020-06-30 21:11:21 +02:00
LC
4ff560a6e4
Merge pull request #8913 from JosJuice/msvc-preprocessor
...
Support the new MSVC preprocessor
2020-06-30 04:34:10 -04:00
Markus Wick
5792881eeb
Merge pull request #8912 from JosJuice/fix-profiler
...
VideoCommon: Show profiler output again
2020-06-29 14:01:57 +02:00
JosJuice
293745afce
Support the new MSVC preprocessor
...
Intends to fix https://bugs.dolphin-emu.org/issues/12170 .
2020-06-29 13:50:59 +02:00
JosJuice
81d399a4f2
VideoCommon: Show profiler output again
...
This profiler was added in 94d9d13
, but must've broken at some point.
2020-06-29 11:59:47 +02:00
Markus Wick
4095fb6c20
Merge pull request #8911 from OatmealDome/arm64-fastmem-off
...
JitArm64: Don't assume fastmem arena is available
2020-06-29 09:20:19 +02:00
OatmealDome
089ffb9ef4
JitArm64: Don't assume fastmem arena is available
2020-06-29 00:42:56 -04:00
Jordan Woyak
d382c6bab9
WiimoteCommon: Tweak battery level math.
2020-06-28 19:40:26 -05:00
JosJuice
f8e0ececb9
Android: Don't use square stick calibration
...
This essentially reverts d9c78d5
. Thanks to the previous commit,
the touch controls issue which was fixed by d9c78d5
is still fixed.
The behavior for gamepads is reverted, bringing back the ability
to run diagonally in games that had trouble with it after d9c78d5
.
2020-06-29 01:20:02 +02:00
JosJuice
db75509ec5
Android: Enfore correct stick gate in overlay
...
Currently, the touch controller overlay uses a square gate for
sticks. This commit changes that so that it instead uses the
stick gate configured in the INI, which ensures that the values
sent to the core are appropriately scaled regardless of what
is configured in the INI and makes the overlay look nicer
if the INI is set to a stick gate that matches the graphics.
2020-06-29 01:20:02 +02:00
JosJuice
e044db6da6
Android: Fix button ID typo
...
Probably didn't actually break anything in practice due to
how the code for sticks works, but still.
2020-06-28 22:12:35 +02:00
JMC47
961f937010
Merge pull request #8853 from CrunchBite/feature-xlink-kai-bba
...
Feature XLink Kai BBA
2020-06-27 23:32:49 -04:00
JMC47
ef464effaf
Merge pull request #8904 from AdmiralCurtiss/freelookcamera-savestate-fix
...
FreeLookCamera: Fix savestate branch inconsistency.
2020-06-27 20:42:23 -04:00