JosJuice
260bad74ea
Merge pull request #12132 from JosJuice/gles-uint-const
...
VideoCommon: Fix custom shader constants on GLES
2023-08-22 22:35:06 +02:00
JosJuice
ba99d17ac0
VideoCommon: Fix custom shader constants on GLES
2023-08-22 19:38:18 +02:00
JosJuice
e7c2133160
Fixes to translatable strings
2023-08-21 16:29:52 +02:00
JosJuice
3451cb1ca2
Merge pull request #11959 from Dentomologist/add_x64emitter_unittests
...
x64EmitterTest: add J/J_CC/CALL unit tests
2023-08-21 16:27:04 +02:00
JosJuice
8c5d8a6322
Merge pull request #12120 from AdmiralCurtiss/jit64-membase
...
Jit64: Actually update membase register after GlobalAdvance().
2023-08-19 17:20:28 +02:00
JosJuice
ed7894924c
Merge pull request #12048 from krnlyng/someothertest
...
Jit: Load the memory register only when the msr bits have changed and do not use jumps to load it.
2023-08-19 09:49:29 +02:00
JosJuice
a9ec2a6e41
Merge pull request #12116 from AdmiralCurtiss/log-colors
...
DolphinQt/LogWidget: Restore log window colors.
2023-08-18 09:00:43 +02:00
JosJuice
86910f406e
VideoCommon: Fix std::filesystem::path encoding conversion
...
In std::string, you can store strings using any encoding, but in Dolphin
we have decided to use UTF-8. The problem is that if you convert between
std::string and std::filesystem::path using the built-in methods, the
standard library will make up its own assumption of what encoding you're
using in the std::string. On most OSes this is UTF-8, but on Windows
it's whatever the user's code page is.
What I believe is the C++ standard authors' intended solution to this is
to use std::u8string instead of std::string, but that's a big hassle to
move over to, because there's no convenient way to convert between
std::string and std::u8string. Instead, in Dolphin, we have added helper
functions that convert between std::string and std::filesystem::path in
the manner we want. You *always* have to use these when converting
between std::string and std::filesystem::path, otherwise we get these
kinds of encoding problems that we've been having with custom textures.
Fixes https://bugs.dolphin-emu.org/issues/13328 .
2023-08-16 09:56:56 +02:00
JosJuice
177ac0cd44
Merge pull request #12111 from OatmealDome/old-amd-bug
...
Remove `BUG_BROKEN_FRAGMENT_SHADER_INDEX_DECORATION`
2023-08-16 09:20:49 +02:00
JosJuice
4b1b5881b0
Android: Move DirectoryInitialization toast to UI thread
...
You're not allowed to just show toasts on any thread you want.
2023-08-15 14:03:08 +02:00
JosJuice
1d77bddc3b
ControllerInterface/Android: Add null check to AddDevice
...
The Google Play Console is showing some users getting a crash here,
and indeed, InputDevice.getDevice can return null.
2023-08-15 13:31:18 +02:00
JosJuice
d50494b88d
Merge pull request #12060 from Sintendo/arm64-bool-logimm
...
JitArm64: Use LogicalImm in boolX
2023-08-13 18:51:05 +02:00
JosJuice
14a6076198
Merge pull request #12099 from Dentomologist/abstractframebuffer_change_member_declaration_order
...
AbstractFramebuffer: Fix Android reorder-ctor warning
2023-08-13 10:08:33 +02:00
JosJuice
1ebec40e4d
JitArm64: Prefer MOVI with 64-bit elements for zeroing
...
The Cortex-X2 and Cortex-X3 (and possibly others) recognize MOVI with
64-bit elements as a zeroing idiom, but not MOVI with other sizes.
2023-08-06 12:11:37 +02:00
JosJuice
f2b8baa82c
Translation resources sync with Transifex
2023-08-01 21:06:37 +02:00
JosJuice
02b0e287cb
InputConfig: Update IsControllerControlledByGamepadDevice for Android input overhaul
...
This only matters for analytics, but still.
2023-08-01 19:35:55 +02:00
JosJuice
a912a2c3f5
Merge pull request #12047 from AdmiralCurtiss/nand-stats-user
...
Add file size stats to NAND Check.
2023-07-30 21:51:07 +02:00
JosJuice
30c4ac34b0
Merge pull request #12073 from AdmiralCurtiss/wiimote-win32error
...
WiimoteReal/IOWin: Use correct error type in the default case.
2023-07-29 18:54:10 +02:00
JosJuice
ed8911b204
Merge pull request #12019 from Dentomologist/gekkodisassembler_remove_unused_member_and_parameter
...
GekkoDisassembler: Remove unused member and parameters
2023-07-28 20:02:19 +02:00
JosJuice
bed3874497
Merge pull request #12076 from JosJuice/android-when-or
...
Android: Fix SettingsActivity.onActivityResult
2023-07-28 19:13:16 +02:00
JosJuice
b5b8282ca9
Android: Fix SettingsActivity.onActivityResult
...
`or` is the bitwise or operator.
Fixes file pickers in the settings not saving your choice.
2023-07-28 18:45:07 +02:00
JosJuice
e3453ea23d
Update GameTDB files
2023-07-27 19:45:52 +02:00
JosJuice
17fa9dfc4e
Merge pull request #12046 from AdmiralCurtiss/nand-stats-unit-test
...
UnitTests: Enable cluster check in FileSystemTest.GetDirectoryStats.
2023-07-27 18:44:34 +02:00
JosJuice
8f1b2280ae
Merge pull request #12068 from SuperSamus/manual-texture-game
...
Qt/GameConfigWidget: Add Manual Texture Sampling
2023-07-27 16:54:59 +02:00
JosJuice
44d25602a0
Translation resources sync with Transifex
2023-07-26 15:32:36 +02:00
JosJuice
eb79bf37e2
Merge pull request #12052 from mitaclaw/profiling-is-something
...
Announce RSCRATCH clobbering in Jit64::Cleanup() when profiling is enabled
2023-07-23 20:12:43 +02:00
JosJuice
3d9bc85912
Merge pull request #12058 from noahpistilli/android-wiilink
...
Add Enable WiiLink checkbox to Android GUI
2023-07-22 08:14:18 +02:00
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