summaryrefslogtreecommitdiff
path: root/Source
AgeCommit message (Collapse)Author
2024-10-03Add Confirm Popups for Achievements Logout and Hardcore OffLillyJadeKatrin
2024-10-03Migrate Hardcore Toggle Code to Achievement ManagerLillyJadeKatrin
AchievementManager::SetHardcoreMode now handles the (non-Qt) settings disabled by hardcore mode, instead of doing this on the Qt layer. Also ensured Init/Enable Achievements paths run this code, fixing the bug wherein the player can manipulate things when achievements are disabled that persist when turned back on.
2024-10-02Merge pull request #13087 from TellowKrinkle/PresentSkipJMC47
VideoBackends:Vulkan: Prevent freezes during window resize on Linux
2024-10-02VideoBackends:Vulkan: Wait until we've confirmed a successful ↵TellowKrinkle
AcquireNextImage before marking semaphores used
2024-10-02VideoBackends:Vulkan: Don't try to present if swapchain acquire failedTellowKrinkle
2024-10-02Bluetooth: show vid:pid in error messageTillmann Karras
2024-10-02Merge pull request #12953 from LillyJadeKatrin/retroachievements-fail-messagingJMC47
Achievements Fail Messaging
2024-10-01Properly Notify when Achievements Login FailsLillyJadeKatrin
2024-09-30VideoBackends:Metal: subgroup_ops requires Apple7, not Apple6TellowKrinkle
SIMD-scoped permute operations are Apple6, but reduction operations are Apple7
2024-10-01WII_IPC: rewrite multiply as 100_tbticks literal (NFC)Tillmann Karras
2024-09-30VideoCommon: Dirty pixel shader manager on efb scale changesTellowKrinkle
2024-09-29VideoBackends:Metal: Use ios_use_simdgroup_functions with SPIRV-CrossTellowKrinkle
It defaults to trying to emulate simdgroup functions on iOS
2024-09-29Merge pull request #13083 from Tilka/apploaderTilka
Boot: write Apploader version into memory
2024-09-28VolumeVerifier: Promote `DEBUG_ASSERT` to `static_assert`mitaclaw
This runtime assertion was added before `std::is_sorted` became constexpr in the codebase.
2024-09-29Boot: write Apploader version into memoryTillmann Karras
When HLE-ing the apploader, this is necessary to avoid "Error #002" errors. Homebrew doesn't care.
2024-09-28Android: Use enableEdgeToEdgeJosJuice
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-28Android: Add 16 KiB page size supportJosJuice
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-27linux: Use D-Bus to inhibit screensaverrobxnano
2024-09-27VideoBackendBase: Only populate backend info when uninitializedDentomologist
Prevent potential issues when creating the Graphics window (and thus calling PopulateBackendInfo) while the core state is Stopping, like we already do while it's Starting or Running.
2024-09-27DolphinQt: Remove unneeded Win32 coderobxnano
Dolphin already uses QStyleHints::colorScheme to detect dark mode, so this code is now redundant.
2024-09-27Merge pull request #13062 from ↵Tilka
Dentomologist/graphics_clarify_relationship_between_incompatible_settings Graphics: Clarify relationship between incompatible settings
2024-09-27Merge pull request #13077 from ↵Tilka
Dentomologist/graphicswindow_fix_first_opening_during_emulation_startup_crash GraphicsWindow: Fix crash when opening for the first time during emulation startup
2024-09-26VideoBackendBase: Check Core state in PopulateBackendInfoDentomologist
Remove the PopulateBackendInfoFromUI function, which had a single caller (GraphicsWindow::OnBackendChanged) and checked that the core wasn't running or starting before calling PopulateBackendInfo. Move the core state check into PopulateBackendInfo and have OnBackendChanged call that instead. This guarantees the check is performed by all callers of PopulateBackendInfo, preventing potential reintroduction of the crash fixed in 3d4ae63f if another call to PopulateBackendInfo is added. As of the previous commit the only other caller of PopulateBackendInfo is Core::Init shortly before s_state is set to Starting, so it will always pass the check and so maintain its current behavior.
2024-09-26Core: Remove redundant call to PopulateBackendInfoDentomologist
Remove the second of two calls to PopulateBackendInfo during emulation startup. This call was originally the only one, but b214e0e added an earlier call to handle the backend being changed by the GameINI. The PR discussion doesn't explain why the original call was left in; I suspect it was just overlooked. As a bonus, this removes one of the extra copies of the "Video Info" On Screen Display message at startup when using OpenGL.
2024-09-26GraphicsWindow: Fix crash when opening during emulation startupDentomologist
Fix a crash when opening the Graphics window for the first time during emulation startup when the backend is Vulkan, D3D11, or D3D12. Don't call PopulateBackendInfo() from the Host thread when the core is starting up. First, the function has already been called in Core::Init() so we don't need to again. More importantly, PopulateBackendInfo() calls g_video_backend->InitBackendInfo(), and the Vulkan and D3D implementations of those functions load and then unload libraries (and their associated function pointers) which are potentially in use by other threads. This crash was reliably reproducible with the following steps: 1) Select an affected backend. 2) Enable "Compile Shaders Before Starting" 3) Delete the cached shaders (but not the .uidcache file) for the game you're testing. 4) Close and reopen Dolphin. 5) Start the game. 6) While the game is still booting or compiling shaders, open the Graphics window for the first time in that Dolphin session. Fixes https://bugs.dolphin-emu.org/issues/13634.
2024-09-26Merge pull request #13068 from mitaclaw/redundant-case-insensitiveJMC47
IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtil
2024-09-26Merge pull request #13065 from mitaclaw/ppc-breakpoints-signalJMC47
DolphinQt: A Ubiquitous Signal For When Breakpoints Change
2024-09-26Merge pull request #13070 from mitaclaw/remove-join-stringsJMC47
StringUtil: Remove `JoinStrings`
2024-09-25Merge pull request #13071 from Pokechu22/cheat-search-crashJMC47
Fix random crash when using the cheat search
2024-09-24Sw/Tev: drop unused macroTillmann Karras
2024-09-24Sw/Rasterizer: fix two elder typos, AD 2009Tillmann Karras
2024-09-23Fix random crash when using the cheat searchPokechu22
Before, Dolphin would randomly crash when updating the cheat search when automatic refresh was enabled. (Having a large number of addresses listed, e.g. by starting with an "any value" search, may contribute). The crash was due to QTableWidget::item returning nullptr in RefreshGUICurrentValues, presumably due to the table being resized on the UI thread while the emulated CPU thread was updating the values. I've fixed this by pausing the CPU thread for the entirety of OnNextScanClicked; this eliminated crashes in my testing.
2024-09-22StringUtil: Remove `JoinStrings`mitaclaw
With 12 uses of `JoinStrings` in the codebase vs 36 uses of `fmt::join`, fmtlib's range adapter for string concatenation with delimiters is clearly the preferred option.
2024-09-22Android: Add the "Real Balance Board" settingJosJuice
2024-09-21IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtilmitaclaw
Migrating `Common::CaseInsensitiveLess` to StringUtil.h will hopefully discourage rolling one's own solution in the future for case-insensitive associative containers when this (quite robust!) solution already exists. `Common::CaseInsensitiveStringCompare::IsEqual` was removed in favor of using the `Common::CaseInsensitiveEquals` function. The `a.size() != b.size()` condition in `Common::CaseInsensitiveEquals` can be removed, since `std::ranges::equal` already checks this condition (confirmed in libc++).
2024-09-21GeckoCode: Remove Dead Codemitaclaw
2024-09-21Merge pull request #13053 from ↵JMC47
Dentomologist/texture_dumping_show_osd_on_startup_and_toggle Texture Dumping: Show OSD message on startup and when toggled
2024-09-20BreakpointWidget: Update when `Host::PPCSymbolsChanged`mitaclaw
Otherwise, outdated symbol names will remain.
2024-09-20DolphinQt: A Ubiquitous Signal For When Breakpoints Changemitaclaw
There were three distinct mechanisms for signaling breakpoint changes in DolphinQt, and the wiring had room for improvement. The behavior of these signals has been consolidated into the new `Host::PPCBreakpointsChanged` signal, which can be emitted from anywhere in DolphinQt to properly update breakpoints everywhere in DolphinQt. This improves a few things: - For the `CodeViewWidget` and `MemoryViewWidget`, signals no longer need to propagate through the `CodeWidget` and `MemoryWidget` (respectively) to reach their destination (incoming or outgoing). - For the `BreakpointWidget`, by self-triggering from its own signal, it no longer must manually call `Update()` after all of the emission sites. - For the `BranchWatchDialog`, it now has one less thing it must go through the `CodeWidget` for, which is a plus.
2024-09-15Merge pull request #13035 from retroNUC/cheevo-hashTilka
Add generation of rcheevos hash as an option in DolphinTool
2024-09-15Add generation of rcheevos hash to DolphinToolretroNUC
Fixed coding standards issue CalculateHash return string instead of using char array param
2024-09-10Graphics: Clarify relationship between incompatible settingsDentomologist
Explicitly state that Manual Texture Sampling disables Anisotropic Filtering and that GPU Texture Decoding disables Arbitrary Mipmap Detection.
2024-09-08Merge pull request #13057 from JosJuice/rvzpack-typoTilka
DiscIO: Fix a typo in an RVZPack comment
2024-09-08Merge pull request #12813 from Geotale/interpreter-subnormal-roundingJosJuice
Proper Subnormal Rounding When Interpreting
2024-09-08DiscIO: Fix a typo in an RVZPack commentJosJuice
2024-09-08Merge pull request #12981 from Geotale/proper-integer-roundingJosJuice
Improve Integer Rounding Accuracy
2024-09-07Merge pull request #12966 from ↵JMC47
Dentomologist/cheatsmanager_create_code_widgets_only_once CheatsManager: Create Action Replay and Gecko code widgets only once
2024-09-07Merge pull request #13051 from mitaclaw/dead-config-code-2JosJuice
SI_Device: Remove Dead Config Code
2024-09-07Merge pull request #13052 from Tilka/axTilka
DSPHLE/AX: fix low-pass/biquad clipping
2024-09-06Texture Dumping: Show OSD message on startup and when toggledDentomologist
If texture dumping is enabled, notify the user on emulation startup using an On Screen Display message. Also notify the user when texture dumping is toggled. Addresses https://bugs.dolphin-emu.org/issues/12445.