JosJuice
5acebc71c4
D3D: Remove Windows 7 mention in logic ops warning
...
Dolphin no longer supports Windows 7, so the fact that there are (were?)
more people who use Windows 7 than who use a GPU that doesn't support
the required feature is no longer relevant.
2023-07-11 22:41:51 +02:00
JosJuice
559611d9a4
Merge pull request #12039 from deReeperJosh/skylanders-list-fixes
...
Skylanders Portal: More List Fixes
2023-07-11 17:58:57 +02:00
JosJuice
bd90f6be78
Merge pull request #12017 from Dentomologist/remove_unused_flowlayout
...
QtUtils: Remove unused FlowLayout
2023-07-09 16:06:35 +02:00
JosJuice
90b1f5c60a
Merge pull request #12020 from Dentomologist/gekkodisassembler_remove_unread_variables
...
GekkoDisassembler: Remove unread variables
2023-07-09 16:00:26 +02:00
JosJuice
1e7268c04b
Merge pull request #12021 from deReeperJosh/skylanders-list-fixes
...
Skylander Portal: Simple List Fixes
2023-07-08 14:40:54 +02:00
JosJuice
179d823852
Merge pull request #11992 from Dentomologist/remove_mtype_and_associated_enum
...
GekkoDisassembler: Remove unread variable and associated enum
2023-07-01 09:00:42 +02:00
JosJuice
38fe7ac945
Merge pull request #12008 from AdmiralCurtiss/vkgfx-parens
...
VKGfx: Add parentheses around ambiguous if statements.
2023-06-29 17:43:57 +02:00
JosJuice
3384e02098
DolphinQt: Don't translate empty strings
...
Trying to translate an empty string will return a long metadata string
for the loaded translation file rather than the expected empty string.
2023-06-28 18:43:52 +02:00
JosJuice
78f4a9189d
Translation resources sync with Transifex
2023-06-27 22:42:07 +02:00
JosJuice
766b8605f8
Merge pull request #11994 from JosJuice/skylanders-i18n
...
DolphinQt: Add i18n comments for Skylanders strings
2023-06-27 22:40:14 +02:00
JosJuice
a7aee396f6
Merge pull request #11929 from t895/gradle-updates
...
Android: Gradle updates
2023-06-26 19:44:23 +02:00
JosJuice
984ffe65a8
GameSettings: Restore HAT.ini
...
We only use six-character INIs for settings that have to be set on a
per-version basis.
2023-06-26 17:45:43 +02:00
JosJuice
ac53ab184c
Merge pull request #11952 from K0bin/no-per-game-driver
...
Android: Remove GPU driver from per-game settings
2023-06-25 19:00:01 +02:00
JosJuice
09f8f29ae0
DolphinQt: Add i18n comments for Skylanders strings
...
Also changed the spelling of "Superchargers" to "SuperChargers".
2023-06-25 15:38:30 +02:00
JosJuice
b5e197e2dc
Android: Handle game shutdown in onTitleChanged
2023-06-23 20:40:04 +02:00
JosJuice
5b7fdfc7ca
Merge pull request #11987 from AdmiralCurtiss/remove-assert-host
...
Core: Remove host thread assert in PauseAndLock().
2023-06-23 09:36:09 +02:00
JosJuice
51dfc03805
Merge pull request #11984 from JosJuice/android-analytics-host
...
Android: Declare host thread when generating analytics ID
2023-06-22 18:17:50 +02:00
JosJuice
1f130bf8a3
Android: Declare host thread when generating analytics ID
...
Another instance of the host thread check failing.
2023-06-21 18:16:46 +02:00
JosJuice
27db8d4123
Merge pull request #11935 from nitanmarcel/patch-1
...
Use getCacheDir if getExternalCacheDir returns null.
2023-06-19 20:47:27 +02:00
JosJuice
cff3e22f84
Merge pull request #11926 from JosJuice/android-host-check
...
Android: Re-add host thread check
2023-06-19 20:37:59 +02:00
JosJuice
9943750866
Merge pull request #11973 from Minty-Meeo/string-improvements-part-1d
...
DITConfiguration: Use File::ReadFileToString
2023-06-18 09:56:52 +02:00
JosJuice
39a8219767
Arm64Emitter/x64Emitter: Use nodiscard for FixupBranch
...
This should prevent future occurrences of the type of problem that was
fixed in b713042 .
2023-06-18 09:10:20 +02:00
JosJuice
f16381adc5
Android: Hide Infinity Base in MenuFragment when not relevant
2023-06-17 11:57:53 +02:00
JosJuice
9c13436e2b
JitArm64: Improve instruction scheduling in fres routine
...
We want to have a low number of instructions between the LDP and the
MADD so that the MADD can start immediately after the LDP finishes
even if we're on a lower-end in-order CPU.
2023-06-15 22:02:39 +02:00
JosJuice
5b5124d9ff
JitArm64: Use immediates more in fres routine
...
Not sure why I didn't do this to begin with. Maybe I was under the
impression that the most significant bit of a 12-bit immediate was a
sign bit.
2023-06-14 23:27:58 +02:00
JosJuice
ae4d52c838
Android: Fix overlay d-pad not working until finger moves
...
A switch case fallthrough was overlooked when translating from Java to
Kotlin.
2023-06-13 20:37:59 +02:00
JosJuice
c961c6c35a
Android: Fix pressing up on overlay d-pad
2023-06-13 20:37:59 +02:00
JosJuice
f11175d117
Revert "Android: Temporarily disable host thread check"
...
This reverts commit 361171fce0 .
2023-06-12 23:39:42 +02:00
JosJuice
03f2f57edf
Android: Add HostThreadLock where necessary
2023-06-12 23:39:42 +02:00
JosJuice
3519a7070d
Android: And Lock and Unlock wrappers to HostThreadLock
...
This way we can ensure DeclareAsHostThread and UndeclareAsHostThread
are called when locking and unlocking.
2023-06-12 23:39:42 +02:00
JosJuice
5524042922
Android: Move host thread lock to a separate file
2023-06-12 23:39:42 +02:00
JosJuice
fee86e8536
Android: Check file name extensions locale-independently
...
A very minor bug that became more obvious when this code was translated
to Kotlin.
2023-06-11 19:03:49 +02:00
JosJuice
bcd6e2e6dc
Merge pull request #11921 from t895/kotlin-fragments
...
Android: Convert "fragments" package to Kotlin
2023-06-11 18:57:45 +02:00
JosJuice
061ec365a8
PPCAnalyst: Reduce number of iterations in ReorderInstructionsCore
...
We can utilize the fact that if swapping two instructions causes another
swap to become possible, that swap involves one of the two instructions
we just swapped. There's need to search for new swap opportunities as
far back as the beginning of the block; we can just go one step back.
2023-06-09 19:45:51 +02:00
JosJuice
f561bd4285
Merge pull request #11910 from lioncash/construct
...
PowerPC/ConditionRegister: Mark PPCToInternal() as constexpr
2023-06-08 21:26:07 +02:00
JosJuice
71ac6ec239
InputCommon: Don't treat two analog inputs as a spurious trigger combo
...
I've received a report from an Android user with a gamepad (a "BSP-D3")
where one physical trigger is controlling two analog axes at the same
time. This was causing RemoveSpuriousTriggerCombinations to delete both
axes, which is clearly not a desireable outcome.
With this change, now the axis with the greatest smoothness is kept,
or both in case they have the same smoothness.
2023-06-06 22:07:14 +02:00
JosJuice
5d40871dd4
Merge pull request #11894 from t895/interface-fix
...
android: Fix compilation error from Kotlin changes
2023-06-06 19:07:08 +02:00
JosJuice
361171fce0
Android: Temporarily disable host thread check
...
Very broken. Will investigate, but let's revert it for the time being.
2023-06-06 18:39:32 +02:00
JosJuice
6bd5473d56
Core: Declare emu thread as CPU thread while shutting down
...
Fixes https://bugs.dolphin-emu.org/issues/13274 .
2023-06-06 18:04:21 +02:00
JosJuice
2d56daf1bb
Merge pull request #11873 from AdmiralCurtiss/pause-and-lock-host
...
Core: Assert that only the Host thread may call PauseAndLock().
2023-06-06 13:50:20 +02:00
JosJuice
83b4af86b6
Merge pull request #11892 from t895/kotlin-adapters
...
Android: Convert "adapters" package to Kotlin
2023-06-06 13:06:56 +02:00
JosJuice
04fab7f2b2
Merge pull request #11884 from t895/kotlin-overlay
...
Android: Convert InputOverlay to Kotlin
2023-06-06 13:03:39 +02:00
JosJuice
36ca747d55
Merge pull request #11886 from t895/kotlin-ui
...
Android: Convert "ui" package to Kotlin
2023-06-06 13:03:02 +02:00
JosJuice
ce2b63dcc0
Merge pull request #11887 from t895/kotlin-activities
...
Android: Convert "activities" package to Kotlin
2023-06-05 21:33:34 +02:00
JosJuice
3a81463e68
Android: Fix submenus for Wii Remote 2-4
...
Accessing any of the submenus "Buttons", "Motion Simulation" or
"Motion Input" for Wii Remotes 2-4 would actually lead to the
corresponding submenu for Wii Remote 1.
2023-06-01 20:17:50 +02:00
JosJuice
6743ca8e09
Merge pull request #11861 from shuffle2/qt
...
Revert "Revert "DolphinQt: use default dpi rounding mode (passthrough)""
2023-05-30 20:33:20 +02:00
JosJuice
8a78538b2d
Android: Don't show analytics dialog for destroyed activity
...
Should fix one of the reported crashes on Google Play. The issue can
happen if you leave the activity during directory initialization.
2023-05-22 11:10:13 +02:00
JosJuice
11768e3dd3
Merge pull request #11829 from lioncash/strutil
...
Common/StringUtil: Move some utilities into the Common namespace
2023-05-17 09:13:36 +02:00
JosJuice
192081d2f1
DiscIO: Improve comments in WIARVZFileReader::Convert
...
Just some clarifications and typo fixes.
2023-05-16 18:58:07 +02:00
JosJuice
dadbeb4bae
Translation resources sync with Transifex
2023-05-11 23:02:30 +02:00
JosJuice
f78e5f3c03
Merge pull request #11811 from JosJuice/revert-dpi-passthrough
...
Revert "DolphinQt: use default dpi rounding mode (passthrough)"
2023-05-11 23:00:00 +02:00
JosJuice
82f70cdf94
ControllerInterface/Android: Add some missing DeleteLocalRef calls
2023-05-07 18:44:43 +02:00
JosJuice
24a697514e
ControllerInterface/Android: Use InputEvent.getDeviceId
...
Instead of InputEvent.getDevice followed by InputDevice.getId.
Should hopefully fix https://bugs.dolphin-emu.org/issues/13237 ,
while also being simpler.
2023-05-07 18:40:28 +02:00
JosJuice
2319210d85
Merge pull request #11810 from lioncash/jitreg
...
Common/JitRegister: Move interface into Common namespace
2023-05-03 17:43:01 +02:00
JosJuice
c6510f2bf4
Merge pull request #11812 from lioncash/jitacc
...
JitInterface: Remove global system accessor
2023-05-03 17:42:48 +02:00
JosJuice
20e14aab06
Revert "DolphinQt: use default dpi rounding mode (passthrough)"
...
This reverts commit cfe3683668 .
On Windows systems with 125% DPI scaling, this was causing both icons
and the OSD to be upscaled by 25% using nearest neighbor scaling, which
looks really bad. shuffle2 has said that this will be improved later,
but we should revert it for now for the sake of the upcoming beta build.
2023-05-02 20:18:56 +02:00
JosJuice
ddce941bf1
Translation resources sync with Transifex
2023-05-02 20:11:25 +02:00
JosJuice
6d8cabac49
Merge pull request #11771 from lioncash/linear
...
Common/LinearDiskCache: Move interface into Common namespace
2023-04-19 17:45:43 +02:00
JosJuice
969318ff66
Merge pull request #11761 from lioncash/mathrev
...
Common/MathUtil: Move remaining utilities into MathUtil namespace
2023-04-18 18:05:12 +02:00
JosJuice
4c80c992eb
Merge pull request #11741 from AdmiralCurtiss/ppc-class
...
PowerPC: Refactor to class, move to System.
2023-04-10 15:38:19 +02:00
JosJuice
424d136740
Readme: Update Transifex URL
...
The old URL redirects to the new URL for now, but apparently it will
stop doing that in a few months. Let's update it in the Readme.
2023-04-09 09:04:58 +02:00
JosJuice
6b73a4772b
Merge pull request #11744 from AdmiralCurtiss/ios-di-registers
...
IOS/DI: Remove RegisterWrapper.
2023-04-09 08:55:07 +02:00
JosJuice
6089310c80
Add Finnish translation
...
A lot of progress has been made on the Finnish translation over on
Transifex recently. Let's add it.
2023-04-02 11:33:42 +02:00
JosJuice
450ca0b69e
Merge pull request #11700 from AdmiralCurtiss/mmu-class
...
PowerPC/MMU: Refactor to class, move to System.
2023-04-01 18:02:04 +02:00
JosJuice
1bf593f65a
Jit: Change argument order for InvalidateICacheLine(s)FromJIT
2023-04-01 14:34:30 +02:00
JosJuice
7de01597c6
Merge pull request #11686 from t895/index-fix
...
Android: Ignore input from invalid pointer identifier
2023-03-24 17:57:19 +01:00
JosJuice
e0c9dfe67c
Translation resources sync with Transifex
2023-03-24 17:26:25 +01:00
JosJuice
66e414133e
Merge pull request #11680 from t895/long-press-fix
...
Android: Long press leanback game card fix
2023-03-22 17:39:59 +01:00
JosJuice
002a96adb0
Merge pull request #11662 from t895/kotlin-settings
...
Android: Convert Settings to Kotlin
2023-03-19 17:15:22 +01:00
JosJuice
8e363c0995
Android: Translate C++ "w" to ParcelFileDescriptor "wt"
...
Previously we were translating "w" to "w", which unlike in C++ doesn't
truncate. See https://issuetracker.google.com/issues/180526528 , and for
reference, https://en.cppreference.com/w/cpp/io/c/fopen and
https://en.cppreference.com/w/cpp/io/basic_filebuf/open .
This issue was brought to my attention by the recently published issue
CVE-2023-21036 in the screenshot editing tool on Pixel phones. I'm not
aware of any code in Dolphin that actually uses "w" with an existing
file on Android (when we ask the user for a location to save to using
SAF, a new file is always created), but still, best to fix this.
2023-03-18 13:44:01 +01:00
JosJuice
d179acef38
Core: Refactor InitializeDeterministicWiiSaves
...
Some simple deduplication.
2023-03-16 22:49:46 +01:00
JosJuice
9e7409e71e
Core: Fix starting movie recording with existing Wii save
...
A change made in 0d095b4 didn't take into account that the movie system
doesn't set sync_titles.
2023-03-16 22:45:40 +01:00
JosJuice
6b545eaada
Merge pull request #11659 from JosJuice/android-after-dirinit-runner-cleanup
...
Android: Clean up AfterDirectoryInitializationRunner
2023-03-16 17:12:58 +01:00
JosJuice
fe8be906f3
Android: Use LifecycleOwner instead of subtype
2023-03-14 23:03:13 +01:00
JosJuice
846f5f6671
Android: Clean up outdated comment in AfterDirectoryInitializationRunner
2023-03-14 23:03:13 +01:00
JosJuice
5818685911
Android: Fix per-game profile setting off-by-one
2023-03-13 18:30:55 +01:00
JosJuice
019bde6afc
Merge pull request #11645 from K0bin/document-provider-authority-fix
...
Android: Use $applicationId for DocmentProvider authority
2023-03-12 15:43:08 +01:00
JosJuice
804b94ee9e
Merge pull request #11524 from K0bin/document-provider
...
Android: Implement DocumentProvider
2023-03-11 19:24:19 +01:00
JosJuice
08334015f9
Android: Remove SettingsActivityView parameters from Settings
...
No longer used for anything.
2023-03-11 18:49:43 +01:00
JosJuice
99600ef781
Android: Rework the "global" settings functions
...
getXGlobal() is now identical to getX(), and setXGlobal(int, X) is now
identical to setX(int, X) in the cases where setX(int, X) exists.
We can remove/rename them.
2023-03-11 18:49:43 +01:00
JosJuice
58fc347f8d
Android: Don't require Settings object for reading a setting
...
Made unnecessary by the previous commit.
2023-03-11 18:49:43 +01:00
JosJuice
68fd133057
Android: Remove support for the old config system
...
All settings that we care about from an Android perspective are now
supported by the new config system, so we can remove all the Android code
for the old config system. This should have no impact on users.
2023-03-11 17:51:59 +01:00
JosJuice
53e7090f55
Migrate game INI profile setting to new config system
2023-03-11 17:51:58 +01:00
JosJuice
62ff2f1030
Merge pull request #11385 from JosJuice/android-input-overhaul
...
Android input overhaul
2023-03-11 12:37:44 +01:00
JosJuice
4d34f86121
DolphinQt: Add MotionPlus support to TAS input
...
Will manually controlling both an accelerometer and a gyroscope at the
same time be reasonable to do? No idea. Was this easy to implement
thanks to the input override system? Yes.
Fixes https://bugs.dolphin-emu.org/issues/12443 .
2023-03-10 19:36:17 +01:00
JosJuice
0300b44d23
DolphinQt: Rework TAS input threading, part 2 (analog inputs)
2023-03-08 17:49:03 +01:00
JosJuice
11e4d46927
DolphinQt: Remove unneeded out parameters in TASInputWindow
...
IIRC we needed this before the input override system was added.
2023-03-08 17:49:03 +01:00
JosJuice
3eac1fc284
DolphinQt: Rework TAS input threading, part 1 (buttons)
...
This gets rid of a blocking operation, improving performance and fixing
https://bugs.dolphin-emu.org/issues/12893 .
This also makes us no longer directly access the state of certain UI
elements from the CPU thread, which probably wasn't thread-safe but
doesn't seem to have caused any observable issues so far.
2023-03-08 17:49:02 +01:00
JosJuice
75fb1a7edf
Android: Disable input device sensor input due to crash
2023-03-07 17:39:34 +01:00
JosJuice
1788a797e7
Android: Add "more settings" button to overlay control setting dialog
...
Some people might wonder where the ability to select an extension
and the Sideways Wii Remote went. This button will take them to the
general settings, which is where those settings now live.
At some point in the future, we should probably move everything to the
general settings. But this pull request is already big enough as it is!
2023-03-07 17:39:34 +01:00
JosJuice
6b5f82c12f
Android: Change how the overlay controller setting works, part 2
...
The previous commit wasn't enough for getting inputs to work for
controllers 2-4.
2023-03-07 17:39:34 +01:00
JosJuice
1b55d7c594
Android: Change how the overlay controller setting works
...
Up until now, there have been two settings on Android that stored the
selected Wii Remote extension: the normal one that's also used on PC,
and a SharedPreferences one that's used by the overlay controls to
determine what controls to show. It is possible for these two to end up
out of sync, and my input changes have made that more likely to happen.
To fix this, let's rework how the overlay controller setting works.
We don't want it to encode the currently selected Wii Remote extension.
However, we can't simply get rid of the setting, because for some Wii
games we need the ability to switch between a GameCube controller and a
Wii Remote. What this commit does is give the user the option to select
any of the 4 GameCube controllers and any of the 4 Wii Remotes. (Before,
controllers 2-4 weren't available in the overlay.) Could be useful for
things like the Psycho Mantis fight in Metal Gear Solid. I'm also
switching from SharedPreferences to Dolphin.ini while I'm at it.
2023-03-07 17:39:34 +01:00
JosJuice
4c326f2030
Android: Remove the in-emulation IR sensitivity options
...
This too can be set in the normal controller settings now.
2023-03-07 17:39:34 +01:00
JosJuice
ee2c7dc24b
Android: Remove the in-emulation motion control options
...
You can set this in the normal controller settings now.
2023-03-07 17:39:34 +01:00
JosJuice
9b9b6d97bc
Config: Simplify IsSettingSaveable's handling of Android section
...
The Android-specific controller mapping system is now gone,
so IsSettingSaveable can be greatly simplified.
2023-03-07 17:39:34 +01:00
JosJuice
32cb41007b
Android: Allow changing controller settings during emulation
2023-03-07 17:39:34 +01:00
JosJuice and Charles Lombardo
c2779aef06
Android: Add the advanced input mapping dialog
...
It's missing a lot of features from the PC version for now, like
buttons for inserting functions and the ability to see what the
expression evaluates to. I mostly just wanted to get something in
place so you can set up rumble.
Co-authored-by: Charles Lombardo <[email protected] >
2023-03-07 17:39:30 +01:00
JosJuice
42943672bb
Android: Add selecting input profile per game
2023-03-03 22:28:25 +01:00
JosJuice and Charles Lombardo
1eeded23df
Android: Add input profile management
...
Co-authored-by: Charles Lombardo <[email protected] >
2023-03-03 22:28:25 +01:00
JosJuice and Charles Lombardo
7ef229d908
Android: Show warning when using old pre-defined controller INIs
...
Co-authored-by: Charles Lombardo <[email protected] >
2023-03-03 22:28:25 +01:00