summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2024-06-27Merge pull request #12877 from LillyJadeKatrin/retroachievements-auto-updateAdmiral H. Curtiss
Update Achievement List when Rich Presence Updates
2024-06-26Fixed misaligned borders on unlocked achievement badgesLillyJadeKatrin
2024-06-26Removed large empty space at the bottom of achievement/leaderboard listsLillyJadeKatrin
2024-06-26FrameAdvance: Fix continuous frame advancing while the debug UI is open. ↵TryTwo
Blocks signals from being spammed to update the UI.
2024-06-26Revert "Audit uses of IsRunning and GetState"JosJuice
This reverts commit 72cf2bdb87f09deff22e1085de3290126aa4ad05. SYSCONF settings are getting cleared when they shouldn't be. Let's revert the change until I get proper time to figure out why it's broken.
2024-06-25Update Achievement Sort and Progress on RPLillyJadeKatrin
Whenever a request to update the Rich Presence comes in, typically every ten seconds, the Achievement Progress Widget will update the sort order of the achievements and all of their measured values.
2024-06-24AboutDialog: Update copyright year to 2024OatmealDome
2024-06-24GeneralPane: Update "Beta" auto update track to "Releases"OatmealDome
2024-06-23Android: Track whether app is in foregroundJosJuice
2024-06-23Merge pull request #12878 from ↵JMC47
LillyJadeKatrin/retroachievements-hardcore-state-changed Decouple Hardcore from EmulationStateChanged
2024-06-23Merge pull request #12872 from ↵Admiral H. Curtiss
LillyJadeKatrin/retroachievements-start-session-bug Add MemoryVerifier to AchievementManager Startup
2024-06-23MainWindow: Remove Show() and redistribute its logic to other places.TryTwo
bugfix: SetQWidgetWindowDecorations(this); not called before show() for Windows darkmode titlebars. The actual call to (QWidget) show() needed to come sooner. Show() was originally left alone, but with other checks needing to move with (QWidget) show(), this function became less useful. Show() was originally created to fix the render widget appearing behind the main window, but that appears to work fine in this iteration.
2024-06-23Merge pull request #12876 from ↵Admiral H. Curtiss
dreamsyntax/advanced-cpu-clock-override-step-adjustment DolphinQt: Adjust CPU Clock Override slider
2024-06-23Merge pull request #12884 from Tilka/qt_thisAdmiral H. Curtiss
DolphinQt: fix some warnings
2024-06-23Merge pull request #12879 from LillyJadeKatrin/retroachievements-1200-shinesAdmiral H. Curtiss
Trim extra characters from measured progress
2024-06-23Merge pull request #12883 from LillyJadeKatrin/retroachievements-cutoff-textAdmiral H. Curtiss
Fix cut off text in Achievements dialog
2024-06-22Trim extra characters from measured progressLillyJadeKatrin
The measured_progress C string for achievements to display potentially contains junk data after the null terminator, which was rendering in the QString in the dialog. This trims those junk characters.
2024-06-23Core/VideoCommon: Revert change from #12828Admiral H. Curtiss
This causes Dual Core to lock up during the boot sequence, because it tries to wait for a not-yet-running GPU thread. Fixes https://bugs.dolphin-emu.org/issues/13559
2024-06-23DolphinQt: fix -Wunused-const-variable warningTillmann Karras
2024-06-23DolphinQt: fix two -Wshadow-uncaptured-local warningsTillmann Karras
2024-06-23DolphinQt: fix two -Wunused-lambda-capture warningsTillmann Karras
Also clean up signals a bit.
2024-06-22Merge pull request #12828 from JosJuice/unify-state-variables-2Admiral H. Curtiss
Clean up Core::GetState
2024-06-22Merge pull request #12771 from deReeperJosh/moreinfinityslotsAdmiral H. Curtiss
IOS/USB Add 2 more Spaces for Disney Infinity figures
2024-06-22Merge pull request #12875 from luiscondesdi/updatevkheadersAdmiral H. Curtiss
Vulkan: Update Vulkan headers, VulkanMemoryAllocator
2024-06-22Add MemoryVerifier to AchievementManager StartupLillyJadeKatrin
rc_client calls the provided memory peeker asynchronously in the callback for starting a session, to validate/invalidate the memory used for achievements. Dolphin cannot access memory from any thread but host or CPU so this access has a small chance of being invalid. This commit adds a MemoryVerifier that the AchievementManager will use to perform this, before changing the peek method back to the original MemoryPeeker for normal operation.
2024-06-22Migrate Vulkan-Headers to submodule and update to v1.3.288Luis Condes Diaz
2024-06-22Fix cut off text in Achievements dialogLillyJadeKatrin
2024-06-21Audit uses of IsRunning and GetStateJosJuice
Some pieces of code are calling IsRunning because there's some particular action that only makes sense when emulation is running, for instance showing the state of the emulated CPU. IsRunning is appropriate to use for this. Then there are pieces of code that are calling IsRunning because there's some particular thing they must avoid doing e.g. when the CPU thread is running or IOS is running. IsRunning isn't quite appropriate for this. Such code should also be checking for the states Starting and Stopping. Keep in mind that: * When the state is Starting, the state can asynchronously change to Running at any time. * When we try to stop the core, the state gets set to Stopping before we take any action to actually stop things. This commit adds a new method Core::IsUninitialized, and changes all callers of IsRunning and GetState that look to me like they should be changed.
2024-06-21Core: Store current state in less placesJosJuice
Core::GetState reads from four different pieces of state: s_is_stopping, s_hardware_initialized, s_is_booting, and CPUManager::IsStepping. I'm keeping that last one as is for now because there's code in Dolphin that sets it directly, but we can unify the other three to make things easier to reason about. This commit also gets rid of s_is_started. This was previously used in Core::IsRunningAndStarted to ensure true wouldn't be returned until the CPU thread was started, but it wasn't used in Core::GetState, so Core::GetState would happily return State::Running after we had initialized the hardware but before we had initialized the CPU thread. As far as I know, there are no callers that have any real need to know whether the boot process is currently initializing the hardware or the CPU thread. Perhaps once upon a time there was a desire to make the apploader debuggable, but a long time has passed without anyone stepping up to implement it, and the way CBoot::RunApploader is implemented makes it rather difficult. So this commit makes all the functions in Core.cpp consider the core to still be starting until the CPU thread is started.
2024-06-21Merge pull request #12800 from Tilka/unused_resultAdmiral H. Curtiss
AudioCommon: release mutex explicitly to avoid -Wunused-result warning
2024-06-21Merge pull request #12867 from AdmiralCurtiss/uicommon-dependencyAdmiral H. Curtiss
CMake dependency fixes
2024-06-21Make achievement progress text label transparentLillyJadeKatrin
This field was completely hiding the progress bar in dark mode without this.
2024-06-20Refactored AchievementProgress UpdateData to Re-SortLillyJadeKatrin
When AchievementProgress::UpdateData(false) is called, it will now empty itself and reinsert all existing boxes, re-sorted into their current buckets, and call UpdateProgress on them all.
2024-06-20Decouple Hardcore from EmulationStateChangedLillyJadeKatrin
Rerendering the entire Achievements dialog every EmulationStateChanged signal is far too often when it turns out that signal fires multiple times to confirm game close, for example. This change results in only the settings changing on EmulationStateChanged, and having the Hardcore mode toggle (which DOES require redrawing the entire dialog) emit its own signal alongside EmulationStateChanged.
2024-06-20Add 2 More Slots for Power Discs on Emulated BasedeReeperJosh
2024-06-19Split AchievementBox UpdateDataLillyJadeKatrin
AchievementBox now has UpdateData and UpdateProgress, which is called from UpdateData, but may be called elsewhere to update just the progress measurement of the achievement.
2024-06-20AudioCommon: unlock mutex explicitly to avoid -Wunused-result warningTillmann Karras
2024-06-19Scale challenge icons based on screen heightLillyJadeKatrin
2024-06-19Merge pull request #12853 from LillyJadeKatrin/retroachievements-percent-fixAdmiral H. Curtiss
Improved Achievement Progress Label
2024-06-19Merge pull request #12873 from LillyJadeKatrin/retroachievements-sortingJMC47
Add Sorting to Achievements Dialog
2024-06-19Merge pull request #12859 from LillyJadeKatrin/retroachievements-challenge-hideJMC47
Hide Challenge Icons when OSD Messages Disabled
2024-06-18DolphinQt: Adjust CPU Clock Override sliderdreamsyntax
CPU Clock Override slider now increments 1% in the UI, with the new lower limit being 1% instead of 6%. Prior implementation made it impossible to set exactly 150% in the GUI. 147% -> 152%. Now users can set exact clock % without needing to edit INIs.
2024-06-18Add Sorting to Achievements DialogLillyJadeKatrin
rc_client provides basic sorting buckets as a possible option when retrieving the list of achievements or leaderboards; this enables them and labels them in the dialog.
2024-06-17Merge pull request #12870 from LillyJadeKatrin/retroachievements-gdb-disableAdmiral H. Curtiss
Disable GDB Stub in Hardcore Mode
2024-06-17Merge pull request #12799 from mitaclaw/branch-watch-tool-fixes-3Admiral H. Curtiss
Branch Watch Tool: Add Set Breakpoints Submenu
2024-06-17Disable GDB Stub in Hardcore ModeLillyJadeKatrin
2024-06-16Branch Watch Tool: Add Set Breakpoints Submenumitaclaw
2024-06-16Merge pull request #12857 from LillyJadeKatrin/retroachievements-osd-tweaksJMC47
RetroAchievements On Screen Tweaks
2024-06-15Stack Challenge Icons HorizontallyLillyJadeKatrin
2024-06-15Fix margins on icon-only messagesLillyJadeKatrin
Messages with an icon and no text (such as in the game start sequence) had an oversized margin due to ImGui adding padding for an empty string.