summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
AgeCommit message (Collapse)Author
2025-10-08MMU: Use templates for Read/Write functionsMartino Fontana
2025-06-16ThreadWidget: Don't set fixed width on QLineEditsDentomologist
Fix clipping of QLineEdit contents by having them take up half the grid width instead of trying to match the contents width in an unreliable manner.
2024-10-04Partially revert "Revert "Audit uses of IsRunning and GetState""JosJuice
This reverts the revert commit bc67fc97c39628c76a4dbca411b0e8a9bfaf726a, except for the changes in BaseConfigLoader.cpp, which caused the bug that made us revert 72cf2bdb87f09deff22e1085de3290126aa4ad05. 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-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-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-05-03Replace Common::BitCast with std::bit_castPokechu22
2024-04-30DolphinQt: Properly Delete (Some) Widgetsmitaclaw
This is not every memory leak, just the ones that were obvious.
2024-04-13PPCSymbolDB: GetDescription by std::string_viewmitaclaw
Should save a lot of deep copies.
2024-04-08Core::GetState: Avoid Global System Accessormitaclaw
2023-04-09PowerPC: Refactor to class, move to System.Admiral H. Curtiss
2023-03-28PowerPC/MMU: Refactor to class, move to System.Admiral H. Curtiss
2023-03-08Core: Add System parameter to CPUThreadGuard.Admiral H. Curtiss
2023-02-12DolphinQt: Properly lock CPU before accessing emulated memoryJosJuice
This fixes a problem I was having where using frame advance with the debugger open would frequently cause panic alerts about invalid addresses due to the CPU thread changing MSR.DR while the host thread was trying to access memory. To aid in tracking down all the places where we weren't properly locking the CPU, I've created a new type (in Core.h) that you have to pass as a reference or pointer to functions that require running as the CPU thread.
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-01-13DolphinQt: Replace usages of QLatin1Literal with QStringLiteralLioncash
This literal was deprecated in 5.14.0. Not to mention it wasn't documented as part of the API either: see the 5.14.0 changelog here: https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.14.0?h=v5.14.0 On Qt 6.0 this define is removed entirely. To stay forward compatible, we can make use of QStringLiteral instead.
2020-09-12DolphinQt: fix other widgets that use lambdas (capturing this) without ↵iwubcode
setting the receiver
2020-08-08Fix various -Wshadow warningsTillmann Karras
2020-07-24DolphinQt: fix -Wsign-compare warningTillmann Karras
2020-07-24DolphinQt: fix -Wunused-but-set-variable warningTillmann Karras
2020-06-08DolphinQt: Use QFontMetrics::boundingRect instead of QFontMetrics::widthJosJuice
See https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/
2020-05-18DolphinQt: Remove another usage of QFontMetrics::widthJosJuice
QFontMetrics::width breaks building with CMake on Windows, due to a deprecation warning which gets promoted to an error.
2020-05-03Debugger: Add a Thread widgetSepalani
DebugInterface: Add GetThreads WatchWidget: Update widget on AddWatch