JosJuice
c7ede8a6b7
Merge pull request #13461 from JoshuaVandaele/warningsbegone
...
Fix shadowed variable warnings and missing declarations
2025-03-28 18:43:09 +01:00
JosJuice
ee22cf9b22
Merge pull request #13462 from jordan-woyak/android-wm-mapping-fix
...
Android/Input: Fix crash when mapping wii remote extensions.
2025-03-28 18:35:15 +01:00
JosJuice
9e9faf3be1
Android: Show message when trying to map disconnected device
...
Having the MotionAlertDialog immediately close is confusing for users.
Let's show a message to tell them what went wrong.
2025-03-23 21:39:08 +01:00
JosJuice
516c1314d2
Android: Don't use separate thread for MotionAlertDialog
...
This is an Android continuation of bc95c00 . We now call
InputDetector::Update immediately after receiving an input event from
Android instead of periodically calling it in a sleep loop. This
improves detection of very short inputs, which are especially likely to
occur for volume buttons on phones (or at least on my phone) if you
don't intentionally keep them held down.
2025-03-23 21:39:04 +01:00
JosJuice
c1990bc687
EXI: Make HLE BBA panic alerts translatable
...
Also rewording the messages to make them clearer and fix typos.
2025-03-23 15:43:16 +01:00
JosJuice
0299540209
Merge pull request #13397 from jordan-woyak/perf-metrics
...
PerformanceMetrics: Eliminated a mutex. Code cleanups.
2025-03-17 23:20:41 +01:00
JosJuice
049e52ce1c
Merge pull request #13429 from JosJuice/fix-broken-merge
...
Fix broken merge of PR #13181
2025-03-15 17:53:11 +01:00
JosJuice
f2d1918714
Fix broken merge of PR #13181
...
This undoes one of the changes of PR #13181 . I'm guessing the relevant
code changed between when the PR was last pushed to and when it was
merged.
2025-03-15 17:23:39 +01:00
JosJuice
e637a05707
Merge pull request #12866 from JosJuice/android-log-types-sorting
...
Android: Replace log type names map with array
2025-03-15 16:01:33 +01:00
JosJuice
1f087473aa
Merge pull request #12809 from JosJuice/jitarm64-cmp-sp
...
JitArm64: Replace a comparison to SP
2025-03-15 16:00:15 +01:00
JosJuice
b2f8dac739
Merge pull request #13271 from dreamsyntax/gradle-wrapper
...
Android: Upgrade AGP & Gradle
2025-03-15 15:59:21 +01:00
JosJuice
541344ef9b
Merge pull request #13240 from thalesmg/20241225-m-known-bt-addresses-config-only
...
feat(linux): allow configuring real wiimotes with known bluetooth addresses
2025-03-15 15:34:49 +01:00
JosJuice
8c7ab286f5
Merge pull request #13181 from tygyh/Replace-'reinterpret_cast'
...
Replace 'reinterpret_cast' with 'static_cast'
2025-03-15 15:31:38 +01:00
JosJuice
3fb4084e25
Merge pull request #13345 from Tilka/unswap_depth
...
Fix depth texture being incorrectly affected by swap table
2025-03-15 14:30:19 +01:00
JosJuice
fd2c6918fa
Merge pull request #13388 from jordan-woyak/vsync-not-recommended
...
DolphinQt: Don't recommend v-sync for optimal frame pacing in tool-tip.
2025-03-15 14:24:29 +01:00
JosJuice
13d966760d
Merge pull request #13362 from MackdannyTwitch/dolphin-RA-approved-cheats-
...
Added widescreen code for Tomb Raider: Legend GL8.ini
2025-03-10 19:13:34 +01:00
JosJuice
1cc6b6c5d8
Merge pull request #13384 from MackdannyTwitch/TR-has-graphical-issues
...
Fix graphical corruption bug in Tomb Raider: Legend
2025-03-09 23:59:45 +01:00
JosJuice
87496205aa
Merge pull request #13404 from luzpaz/typo-source-core-windupdater
...
Core/WinUpdater: fix typo
2025-03-09 12:03:56 +01:00
JosJuice
e974e48e1f
Merge pull request #13405 from luzpaz/typo-source-core-core
...
Core/Core: fix typos
2025-03-09 12:03:34 +01:00
JosJuice
d2b4e12f9e
Merge pull request #13399 from luzpaz/typos-macOS
...
CMake: fix various typos
2025-03-08 12:23:13 +01:00
JosJuice
fd2766f5df
Translation resources sync with Transifex
2025-03-01 22:48:20 +01:00
JosJuice
89277ee52e
Merge pull request #13376 from jordan-woyak/serialized-wm-irext
...
WiimoteEmu: Make SerializedWiimoteState store camera points as IRExtended instead of custom layout.
2025-02-25 17:49:51 +01:00
JosJuice
4697f0ec2f
Merge pull request #13377 from jordan-woyak/middle-clear-fix
...
DolphinQt: Fix MappingButton not updating text on middle-click clear.
2025-02-25 17:41:47 +01:00
JosJuice
6dd0793f1b
Translation resources sync with Transifex
2025-02-24 19:21:47 +01:00
JosJuice
7679b0e955
Merge pull request #13370 from JosJuice/i18n-pack-sd
...
Common: Make SD pack/unpack strings translatable
2025-02-24 18:57:55 +01:00
JosJuice
0f83598493
Common: Make SD pack/unpack strings translatable
...
Regression from adc5b81 .
2025-02-23 23:09:24 +01:00
JosJuice
ddb0e1e309
Translation resources sync with Transifex
2025-02-22 14:15:38 +01:00
JosJuice
af064c57de
Merge pull request #13219 from Tilka/cp_cleanup
...
VideoCommon: drop CP MMIO registers that were probably added in the wrong place
2025-02-17 21:27:19 +01:00
JosJuice
db285b7c87
Merge pull request #13319 from hoogmin/infinite-style-fix
...
Refactor: Infinite loop in AsyncShaderCompiler according to style guidelines
2025-02-06 18:31:28 +01:00
JosJuice
d117614c00
Merge pull request #13213 from JosJuice/remove-filter-patches-lock
...
Core: Remove redundant lock for FilterApprovedPatches call
2025-01-27 20:15:00 +01:00
JosJuice
e29e0cd150
Merge pull request #13296 from jordan-woyak/sdl-motor-lr
...
InputCommon: Make SDL Motor L/R Outputs not fight each other and support trigger rumble.
2025-01-26 19:45:44 +01:00
JosJuice
c9e5975545
Merge pull request #13290 from iwubcode/formatter_abstract_texture_type
...
VideoCommon: add formatter for AbstractTextureType
2025-01-26 19:40:12 +01:00
JosJuice
ca15b4a7d9
Merge pull request #13229 from sanjay900/wii-drum-velocity-fixes
...
WiimoteEmu: Fix Drum Extension Velocity
2025-01-26 14:15:53 +01:00
JosJuice
01358c79a6
Merge pull request #13298 from jordan-woyak/less-bt-spam
...
Core/WiimoteReal: Make Wii Remote scan logging less spammy on Linux.
2025-01-26 14:13:44 +01:00
JosJuice
56b7b0a804
Merge pull request #13303 from JoshuaVandaele/aboutresize
...
AboutDialog: Disable resizing the About window
2025-01-25 10:37:37 +01:00
JosJuice
911742358c
Merge pull request #13307 from OatmealDome/steam-vsprops
...
VSProps: Remove unused Steam preprocessor definition
2025-01-25 10:23:30 +01:00
JosJuice
76c613c8cd
Merge pull request #13294 from JoshuaVandaele/analytics-readme
...
Readme: Add a link to Analytics
2025-01-22 18:26:44 +01:00
JosJuice
a9a720faa7
Merge pull request #13204 from LillyJadeKatrin/retroachievements-allow-batch
...
Gecko/AR Batch Approval
2025-01-20 23:35:17 +01:00
JosJuice
015c2e7709
Translation resources sync with Transifex
2025-01-19 13:34:44 +01:00
JosJuice
af87d60b6c
Merge pull request #13266 from JosJuice/jitarm64-cr-bits-1-to-31
...
JitArm64: Fix creqv/crorc setting eq bit
2025-01-19 13:00:30 +01:00
JosJuice
dabb4350bd
Merge pull request #13282 from jordan-woyak/onion-tweaks
...
Core/Config: Replace some std::pair with struct to make code more readable.
2025-01-19 12:20:48 +01:00
JosJuice
85cd0ca51b
JitArm64: Optimize creqv setting eq/gt bit
...
For the eq and gt bits specifically, setting negate_result is one
instruction shorter than not setting it.
2025-01-15 21:22:31 +01:00
JosJuice
aa9696e1c1
JitArm64: creqv/crorc setting eq bit
...
When I wrote 71e9766519 , there was an interaction I didn't take into
account: When setting eq, SetCRFieldBit assumes that all bits in the
passed-in host register except the least significant bit are 0. But if
we use EON or ORN, all bits except the least significant bit get set to
1. This can cause eq to end up unset when it should be set.
This commit fixes the issue.
crandc is unaffected by the issue because the "1" bits get ANDed with
"0" bits from the first operand.
Note that in practice, we never have both bits_1_to_31_are_set and
negate at once, so while it looks like this commit adds an extra AND
instruction in some cases, those cases don't happen in practice, meaning
this fix shouldn't affect performance.
2025-01-15 18:35:05 +01:00
JosJuice
da0a0c87c2
Merge pull request #13274 from dpeukert/master
...
Clean up CRLF line endings
2025-01-12 14:11:50 +01:00
JosJuice
b35f7af355
Merge pull request #13257 from CasualPokePlayer/dtm_country_code
...
Add SYSCONF country code to DTM
2025-01-06 10:39:53 +01:00
JosJuice
eec2e2f07a
Merge pull request #13251 from Sintendo/carry-opts
...
JitArm64_Integer: Carry flag optimizations
2025-01-06 10:39:43 +01:00
JosJuice
43d5f61a60
Merge pull request #13149 from Sintendo/dcbx-msub
...
JitArm64_LoadStore: Small dcbx optimization
2025-01-06 09:29:08 +01:00
JosJuice
6384ea97f1
JitArm64: Handle rlwinmx with zero mask
...
No games seem to use this, so this isn't useful as a performance
optimization, but it's required for correctness because the (sh == 0)
case of our implementation doesn't handle zero masks.
2024-12-25 15:15:24 +01:00
JosJuice
5641b83d4e
Merge pull request #13063 from TryTwo/PR_GameSettings
...
Add ability to edit game-specific GFX settings from game properties tab.
2024-12-22 20:42:28 +01:00
JosJuice
ad24ddb6bb
VerifyTool: Add missing USE_RETRO_ACHIEVEMENTS ifdefs
2024-12-15 18:15:57 +01:00
JosJuice
84ab15e020
AchievementManager: Add required forward declarations
...
This was causing compilation errors when building without
USE_RETRO_ACHIEVEMENTS.
2024-12-15 18:00:14 +01:00
JosJuice
ada646a795
Merge pull request #12682 from JosJuice/jit-fallback-discard-assert
...
Jit: Skip discarded registers when flushing for interpreter fallback
2024-12-12 23:48:37 +01:00
JosJuice
687fe65709
Merge pull request #13166 from Sintendo/stX-opt
...
JitArm64_LoadStore: Optimize zero stores in stX
2024-12-08 11:06:33 +01:00
JosJuice
7a31c8f10b
AchievementManager: Make SetHardcoreMode private
...
This is an implementation detail that doesn't need to be exposed.
2024-12-07 19:29:53 +01:00
JosJuice
0c46205ba7
Core: Remove redundant lock for FilterApprovedPatches call
...
This was necessary before we added locking inside FilterApprovedPatches,
but not anymore.
2024-12-07 19:06:23 +01:00
JosJuice
e3bfff5cb6
JitArm64: Optimize ps_sel with d == b || d == c
2024-12-07 12:20:24 +01:00
JosJuice
0a84d93a8e
Merge pull request #13196 from jordan-woyak/expanding-numeric-settings
...
DolphinQt: Make mapping window spinboxes horizontally expanding.
2024-12-07 11:14:55 +01:00
JosJuice
c6b0629275
Merge pull request #13200 from Dentomologist/irwidget_move_header_constants_into_class
...
IRWidget: Move header constants into class
2024-12-05 18:53:17 +01:00
JosJuice
74ed5e5532
Android/GCAdapter: Don't join current thread
...
The read thread could call Reset, which in turn tried to join the read
thread, leading to a SIGABRT. This manifested as Dolphin consistently
crashing when disconnecting a GC adapter and having a chance of crashing
a few seconds after connecting a GC adapter.
2024-12-01 12:59:25 +01:00
JosJuice
a68ae37df7
Translation resources sync with Transifex
2024-11-30 20:47:19 +01:00
JosJuice
0f2c2c7ae0
Merge pull request #13156 from jordan-woyak/sdl-no-wgi
...
ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling.
2024-11-17 21:51:56 +01:00
JosJuice
1c7d9ad300
docs: Clarify wia_except_list_t padding in uncompressed groups
...
https://bugs.dolphin-emu.org/issues/13671
2024-11-10 14:52:30 +01:00
JosJuice
d1ef4d5cc1
Translation resources sync with Transifex
2024-11-10 12:24:25 +01:00
JosJuice
980a726313
JitArm64: Drop GetCRFieldBit's negate parameter
...
No caller is using it anymore.
2024-11-02 10:51:48 +01:00
JosJuice
71e9766519
JitArm64: Use BIC/EON/ORN in crXXX
...
This lets us save an instruction in certain scenarios.
2024-11-02 10:51:38 +01:00
JosJuice
9246bcad55
JitArm64: Add negate parameter to SetCRFieldBit
...
Unlike on x64, inverting EQ or GT in SetCRFieldBit saves us one
instruction. Also unlike on x64, inverting SO or LT in GetCRFieldBit
requires an extra instruction (just like in SetCRFieldBit). Due to this,
replacing an invert in GetCRFieldBit with an invert in SetCRFieldBit
when possible is either equally good or better - never worse.
2024-11-02 10:48:27 +01:00
JosJuice
7fddd39d97
JitArm64: Port some crXXX optimizations from Jit64
2024-11-02 10:24:02 +01:00
JosJuice
bbe271eec6
JitArm64: Refactor CR bit manipulation code
...
This brings JitArm64 more in line with Jit64, and makes the next commit
easier to implement. No functional change.
2024-11-02 10:19:31 +01:00
JosJuice
54b37f6bc4
Translation resources sync with Transifex
2024-11-01 15:00:58 +01:00
JosJuice
b2f9e02b62
Translation resources sync with Transifex
2024-10-27 13:13:25 +01:00
JosJuice
92b8d57e6f
Merge pull request #13144 from JosJuice/jitarm64-imm-stp
...
JitArm64: Allow ppcState STP optimization for imm
2024-10-27 10:59:00 +01:00
JosJuice
d4e32ec691
Merge pull request #13089 from TellowKrinkle/NoSystemZNG
...
Remove option for shared zlib-ng
2024-10-26 19:58:48 +02:00
JosJuice
5165ddea52
DolphinQt: Remove a stray period from the Audio tab
2024-10-24 21:24:40 +02:00
JosJuice
c212c0d08e
Merge pull request #12868 from Sintendo/scoped-reg
...
JitArm64: Release temporary regs with RAII
2024-10-24 21:01:53 +02:00
JosJuice
8925ddf45f
Merge pull request #13146 from AdmiralCurtiss/unit-test-compile-fix
...
Add missing algorithm header in SettingsHandlerTest.cpp
2024-10-23 18:11:21 +02:00
JosJuice
6fb3e9226b
JitArm64: Use WZR for ppcState STP optimization with imm == 0
2024-10-21 21:53:21 +02:00
JosJuice
383cbffdec
JitArm64: Allow ppcState STP optimization for imm
2024-10-21 21:51:48 +02:00
JosJuice
24e9fc120c
Merge pull request #13066 from DacoTaco/feature/networking
...
IOS/Net: implement ioctlv that retrieves the network routing table that libogc now uses on network init
2024-10-20 14:14:24 +02:00
JosJuice
07605bf67c
Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivial
...
Ranges Algorithms Modernization - Trivial
2024-10-15 17:08:55 +02:00
JosJuice
564e640acf
Android: Add vsync setting
...
Recently we have been getting some requests to make the existing vsync
setting available in the Android GUI:
https://bugs.dolphin-emu.org/issues/13650
https://forums.dolphin-emu.org/Thread-vsync-toggle-for-android
I don't quite understand why enabling the vsync setting is helpful when
Android already enforces vsync, but I guess having the option available
doesn't hurt. I'm putting the setting under Advanced, unlike in
DolphinQt, since there's no clear reason why the typical user would want
to use this setting.
2024-10-14 12:20:15 +02:00
JosJuice
8e619b7302
Merge pull request #13127 from Tilka/dol001
...
Boot: don't error for NTSC IPL v1.2 of DOL-001 consoles
2024-10-12 22:05:21 +02:00
JosJuice
6798f63a2e
Core: Include partition when calling GetGameTDBID for non-game partition
...
This problem was introduced in 8842a0f402
and is likely a copy-paste error.
Fixes the problem mentioned in the issue comment
https://bugs.dolphin-emu.org/issues/13640#note-2 .
2024-10-05 13:04:50 +02:00
JosJuice
6ca2da53e8
Partially revert "Revert "Audit uses of IsRunning and GetState""
...
This reverts the revert commit bc67fc97c3 ,
except for the changes in BaseConfigLoader.cpp, which caused the bug
that made us revert 72cf2bdb87 . PR 12917
contains an improved change to BaseConfigLoader.cpp, which can be merged
(or rejected) independently.
A few changes have also been made based on review comments.
2024-10-04 18:35:41 +02:00
JosJuice
2da3e49b1e
Merge pull request #13078 from Dentomologist/videobackendbase_only_populate_backend_info_when_uninitialized
...
VideoBackendBase: Only populate backend info when uninitialized
2024-10-04 18:31:06 +02:00
JosJuice
76287f3810
Merge pull request #13097 from Tilka/vidpid
...
Bluetooth: show vid:pid in error message
2024-10-03 19:05:56 +02:00
JosJuice
5b40a7ed17
Merge pull request #13084 from mitaclaw/static-assert-promote
...
VolumeVerifier: Promote `DEBUG_ASSERT` to `static_assert`
2024-09-29 09:56:42 +02:00
JosJuice
d0e6573ac7
Android: Use enableEdgeToEdge
...
Dolphin has been using edge-to-edge rendering for a little while now,
but it has required a bit of manual work. Now that edge-to-edge is
becoming something expected of apps in Android 15, there's a nicer API
we can use.
Tested on Android 8, 11 and 13, with no changes in behavior noted.
2024-09-28 18:20:31 +02:00
JosJuice
14a802b58b
Android: Add 16 KiB page size support
...
So far, Dolphin hasn't been able to run on Android devices that use a
16 KiB page size. 16 KiB page sizes are a very new Android feature that
no phones have shipped with so far, so we're still compatible with the
phones that exist out there, but let's get this fixed before phones
start shipping with 16 KiB page sizes.
Because I couldn't get Android Studio's emulator to work, I haven't been
able to confirm that this change actually makes Dolphin fully compatible
with devices that use a 16 KiB page size. But I have confirmed that this
doesn't break anything on a regular 4 KiB page size device.
2024-09-28 13:43:49 +02:00
JosJuice
0c1070a07b
Android: Add the "Real Balance Board" setting
2024-09-22 21:51:12 +02:00
JosJuice
de67c4c93b
Merge pull request #13013 from duckymomo360/rgh-tattoos-fix
...
GameINI: Fix tattoo texture saving in Rabbids Go Home
2024-09-22 09:10:09 +02:00
JosJuice
4eec061824
Merge pull request #12813 from Geotale/interpreter-subnormal-rounding
...
Proper Subnormal Rounding When Interpreting
2024-09-08 14:22:02 +02:00
JosJuice
e72b23df91
DiscIO: Fix a typo in an RVZPack comment
2024-09-08 12:38:10 +02:00
JosJuice
0c1cd13b23
Merge pull request #12981 from Geotale/proper-integer-rounding
...
Improve Integer Rounding Accuracy
2024-09-08 12:09:58 +02:00
JosJuice
f9f832fa88
Merge pull request #13051 from mitaclaw/dead-config-code-2
...
SI_Device: Remove Dead Config Code
2024-09-07 13:40:34 +02:00
JosJuice
7d08377341
Translation resources sync with Transifex
2024-09-01 08:42:51 +02:00
JosJuice
ff75cc80aa
Interpreter: Fix subfic carry calculation
...
This was accidentally using the instruction's output instead of the
instruction's input when the input and output registers were the same.
2024-08-31 17:24:55 +02:00
JosJuice
27c71017fa
Translation resources sync with Transifex
2024-08-25 11:35:04 +02:00
JosJuice
f85c4413bd
Merge pull request #13009 from BryanJacobs/master
...
Graphics: Adapt aspect ratio when SBS/TAB 3D is used
2024-08-24 16:38:16 +02:00
JosJuice
dcf8ab0189
Android: Wait for surface in Run
...
When we boot the core, it needs to have a valid surface to draw graphics
to. Our Kotlin code does wait for a valid surface to exist before it
calls NativeLibrary.Run, but there's a chance for the surface to be
deleted before Run locks s_surface_lock. If that happens, the core boots
without a valid surface, which presumably would cause a crash. (I
haven't been able to reproduce the problem myself.)
2024-08-21 20:36:46 +02:00
JosJuice
9f95a8fa8a
DolphinQt: Fix "Sddress" typo
2024-08-21 18:12:04 +02:00