summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-03-22 12:13:48 +0100
committerJosJuice <josjuice@gmail.com>2025-03-23 15:29:19 +0100
commit303366b1ce2e93ff33bac1afc42251f281073f9b (patch)
tree1d9a588b97d8578ce09d3c56eac9c02a79db19d4 /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
parent049e52ce1cd3f075f6992d591bdf2ce5ecbdea0f (diff)
PowerPC: Add RAII handling for breakpoint updates
bbf72e7 made a change where you can pass `false` to certain MemChecks functions to get them to skip performing an "update" step. It was then up to the caller to call the Update function later. This commit changes the implementation so that, instead of the caller passing in a boolean that controls whether a function calls Update, the function now returns an object that on destruction will call Update. Callers that are fine with Update being called right away can skip storing the object in a variable and thereby call Update immediately, and callers that want to call Update later can keep the object around. This new design reduces the risk that someone will forget calling Update.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
0 files changed, 0 insertions, 0 deletions