Commit Graph

45576 Commits

Author SHA1 Message Date
Jordan Woyak ff57599e67 StringUtil: Make UTF16ToUTF8 and UTF8ToUTF16 use custom encoding/decoding implementation to eliminate usage of deprecated std::wstring_convert. 2026-04-18 13:06:17 -05:00
Jordan Woyak 4126178204 Merge pull request #14606 from cristian64/range_loop_construct_warning
Core: Address `-Wrange-loop-construct` warning.
2026-04-18 12:07:05 -05:00
cristian64 6059045c59 Core: Address -Wrange-loop-construct warning.
The warning can be seen since 1f72403ec7 when GCC 13.3.0 is used:

```counterexample
[1540/1898] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/TextureCacheBase.cpp.o
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp: In member function 'void TextureCacheBase::ApplyMaterialToCacheEntry(const VideoCommon::MaterialResource&, TCacheEntry*)':
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp:3136:19: warning: loop variable 'texture' creates a copy from type 'const VideoCommon::MaterialResource::TextureLikeReference' [-Wrange-loop-construct]
 3136 |   for (const auto texture : material_data->GetTextures())
      |                   ^~~~~~~
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp:3136:19: note: use reference type to prevent copying
 3136 |   for (const auto texture : material_data->GetTextures())
      |                   ^~~~~~~
      |                   &
```
2026-04-18 10:23:55 +01:00
JMC47 42175d4e75 Merge pull request #14600 from jordan-woyak/fitness-games
GameSettings: Various fitness game fixes.
2026-04-17 13:57:28 -04:00
Jordan Woyak 9b9b20106e Merge pull request #14594 from jordan-woyak/gamesettings-mysims
GameSettings: Apply settings for alternate regions of "MySims Agents".
2026-04-17 12:27:28 -05:00
Jordan Woyak cc5601d7db Merge pull request #14588 from jordan-woyak/resources-icon-assert
DolphinQt/Resources: ERROR_LOG instead of ASSERT when LoadNamedIcon fails.
2026-04-17 12:25:54 -05:00
JosJuice 6d43b55b27 Merge pull request #9952 from Dentomologist/wiimotereal_remove_unused_isready_functions
WiimoteReal: Remove unused IsReady and IsScannerReady functions
2026-04-17 19:10:09 +02:00
OatmealDome 0cdb855434 Merge pull request #14567 from Simonx22/android/convert-wiimoteadapter-to-kotlin
Android: Convert WiimoteAdapter to Kotlin
2026-04-16 20:25:19 -04:00
OatmealDome 995b5b2833 Merge pull request #14568 from Simonx22/android/convert-gcadapter-to-kotlin
Android: Convert GCAdapter to Kotlin
2026-04-16 20:25:09 -04:00
Jordan Woyak 51f0ad0531 Merge pull request #14153 from cristian64/fusion_qgroupbox_style
DolphinQt: Custom style for `QGroupBox` in Fusion.
2026-04-16 15:32:24 -05:00
Jordan Woyak 6190df756f GameSettings: Various fitness game fixes. 2026-04-16 12:44:11 -05:00
JMC47 8f638bfee5 Merge pull request #14585 from jordan-woyak/gamesettings-shrek-lines
GameSettings: Enable VertexRounding in "Shrek Smash n' Crash Racing".
2026-04-16 13:13:26 -04:00
JMC47 fba5d5ef67 Merge pull request #14584 from jordan-woyak/gamesettings-millionaire
GameSettings: Disable ImmediateXFB for "Who Wants To Be A Millionaire".
2026-04-16 13:11:32 -04:00
JMC47 5c7e361505 Merge pull request #14586 from jordan-woyak/gamesettings-hide-sneak
GameSettings: Disable DeferEFBCopies to fix shadows in "Disney's Hide & Sneak".
2026-04-16 13:10:11 -04:00
JMC47 48ff7d3d10 Merge pull request #14593 from jordan-woyak/gamesettings-nfl-street
GameSettings: EFBAccessEnable for "NFL Street 2" to fix broken custom character portraits.
2026-04-16 13:08:03 -04:00
Dentomologist 7d207f7248 WiimoteReal: Remove unused IsReady and IsScannerReady functions
The only call of `IsScannerReady` was removed by
81be0001a9, and most of the `IsReady`
functions were only called by `IsScannerReady`.

The one exception was in `WiimoteScannerLinux`, which is now a private
function instead of inheriting from the one in `WiimoteScannerBackend`.
2026-04-15 14:25:50 -07:00
Jordan Woyak c299144f1e Merge pull request #14595 from jordan-woyak/supported-bt-label
DolphinQt: Remove the "supported Bluetooth device could not be found" label from ControllersPane.
2026-04-15 10:43:32 -05:00
Jordan Woyak 81be0001a9 DolphinQt: Remove the "supported Bluetooth device could not be found" label from ControllersPane.
It just confuses DolphinBar users and isn't relevant these days now that Windows users do not use alternative Bluetooth stacks.
2026-04-14 13:25:44 -05:00
Jordan Woyak 048fb013bd GameSettings: Apply settings for alternate regions of "MySims Agents". 2026-04-14 12:56:09 -05:00
Jordan Woyak 939b6d95f2 GameSettings: EFBAccessEnable for "NFL Street 2" to fix broken custom character portraits.
Also added comments for ImmediateXFBEnable in NFL Street 1 and 2.
2026-04-14 12:35:45 -05:00
Jordan Woyak 46866f6fa2 DolphinQt/Resources: ERROR_LOG instead of ASSERT when LoadNamedIcon fails. 2026-04-13 20:22:31 -05:00
JMC47 6871428a81 Merge pull request #14587 from SuperSamus/arbitrary-mipmap-gpu-decoding-checkbox-fix
VideoCommon: Fixup #14336
2026-04-13 17:56:39 -04:00
Martino Fontana 8971b3b67a VideoCommon: Fixup #14336
whoops

Closes https://bugs.dolphin-emu.org/issues/14024
2026-04-13 22:47:52 +02:00
JMC47 c51d285264 Merge pull request #14560 from jordan-woyak/gbplayer-improvements
HW/GBPlayer: Improvements.
2026-04-13 14:45:16 -04:00
Jordan Woyak 408fdb0a3e GameSettings: Disable DeferEFBCopies to fix shadows in "Disney's Hide & Sneak". 2026-04-13 13:36:19 -05:00
Jordan Woyak 5364106ca1 GameSettings: Enable VertexRounding in "Shrek Smash n' Crash Racing" to eliminate vertical lines in game. 2026-04-13 12:58:58 -05:00
Jordan Woyak 955775e7dd GameSettings: Disable ImmediateXFB for "Who Wants To Be A Millionaire". 2026-04-13 12:12:22 -05:00
Jordan Woyak b62bfe4b30 Merge pull request #14336 from SuperSamus/arbitrary-mipmap-disables-gpu-decoding
VideoCommon: Invert interaction between Arbitrary Mipmap Detection and GPU Texture Decoding (the former disables the latter)
2026-04-12 20:55:22 -05:00
Jordan Woyak bfb121ef72 HW/GBACore: Remove RunFrame function. 2026-04-12 15:06:50 -05:00
Jordan Woyak 571d166c7c HW/GBPlayer: Improvements.
Wait for Control command to power up.
Removed audio resampling.
Better scanline IRQ timing.
Run mGBA based on clock cycles rather than frame times.
2026-04-12 15:06:50 -05:00
Jordan Woyak cba86c42f5 HW/GBACore: Add GetCore getter. 2026-04-12 15:06:30 -05:00
Dentomologist 6ed8dec7ac Merge pull request #14579 from Sintendo/dsp-rm-init-hax
DSPCore: Remove m_init_hax member
2026-04-12 11:15:28 -07:00
Sintendo 219eab74f2 DSPCore: Remove m_init_hax member 2026-04-12 19:21:51 +02:00
Jordan Woyak 33f62b0f9f Merge pull request #14500 from Sintendo/span2
Replace `const std::vector&` arguments with `std::span`
2026-04-11 14:55:41 -05:00
JMC47 27e09633de Merge pull request #14571 from jordan-woyak/dont-need-imm-xfb
GameSettings: Remove disabled Immediate XFB for many games that no longer need it.
2026-04-11 13:52:34 -04:00
Jordan Woyak 5653a86c0a Merge pull request #14574 from JosJuice/gbp-texture-cache-0
GameSettings: Set safe texture cache accuracy for Game Boy Player
2026-04-11 11:42:52 -05:00
JosJuice dd9c44b48c GameSettings: Set safe texture cache accuracy for Game Boy Player
For the HP bars in games like Pokémon Emerald, not even 2048 is enough.
Let's go all the way to Safe.
2026-04-11 18:38:35 +02:00
JosJuice cae765b5cb Merge pull request #14573 from jordan-woyak/CheckExternalExceptions-cleanup
Core/PowerPC: Minor code cleanup to CheckExternalExceptions function.
2026-04-11 13:10:26 +02:00
Jordan Woyak 23e8a3c569 Core/PowerPC: Minor code cleanup to CheckExternalExceptions function. 2026-04-10 14:57:52 -05:00
Jordan Woyak 23a1c7bd94 GameSettings: Remove disabled Immediate XFB for many games that no longer need it. 2026-04-10 13:04:58 -05:00
JosJuice c0e0b685f3 Merge pull request #14493 from LillyJadeKatrin/retroachievements-resident-evil-fix
Remove AchievementManager ChangeDisc call from Eject
2026-04-09 17:22:52 +02:00
Simonx22 e982aeacad Android: Convert GCAdapter to Kotlin 2026-04-06 19:56:27 -04:00
Simonx22 662b1d74a8 Android: Convert WiimoteAdapter to Kotlin 2026-04-06 18:21:07 -04:00
Jordan Woyak 5abf0e3556 Merge pull request #14566 from jordan-woyak/mixer-wav-dump-fix
Mixer: Fix WAV file dumping.
2026-04-06 15:57:17 -05:00
Jordan Woyak f8fead401c Mixer: Fix WAV file dumping. 2026-04-06 15:05:48 -05:00
Jordan Woyak edcc46c123 Merge pull request #14559 from JosJuice/remove-presets
DolphinQt: Remove Presets from GameConfigEdit
2026-04-06 12:13:26 -05:00
JosJuice 5fcdb6f8f9 DolphinQt: Hide buttons for read-only game config
The Open in External Editor button makes editing a game INI file easy,
and the Refresh button is only useful if you edit the game INI. You're
not supposed to edit read-only game INIs, so let's not show these two
buttons for read-only game INIs.

I implemented this by hiding the buttons instead of not creating them in
the first place so we don't have to branch on whether the buttons exist
in GameConfigEdit::ConnectWidgets.
2026-04-06 18:02:24 +02:00
JosJuice 7e98245ca4 DolphinQt: Remove Presets from GameConfigEdit
Back in 2018, a Presets system was added to DolphinQt's GameConfigEdit.
Presets was a dropdown menu where you could select a particular setting
to add to your custom game INI. Only a small number of settings were
made available, with the intent that more would be added over time.

8 years later, the set of available settings hasn't been expanded at
all, and I don't know of anyone who uses these presets. On top of this,
we have now made good progress in exposing per-game settings
graphically. I think the Presets system is best off removed.

In place of the Presets menu, we now have "Refresh" and "Open in
External Editor" buttons. These more useful actions were previously
hidden away in the Presets menu.
2026-04-06 17:23:40 +02:00
JosJuice 85e2149907 Merge pull request #14551 from Dentomologist/breakpointwidget_fix_globally_disabled_icon
BreakpointWidget: Fix drawing of icon when breakpoints are disabled
2026-04-06 12:27:00 +02:00
Jordan Woyak d3275b9ffe Merge pull request #14490 from Simonx22/android/convert-gamepropertiesdialog-to-kotlin
Android: Convert GamePropertiesDialog to Kotlin
2026-04-05 18:41:12 -05:00