summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2024-09-23 22:47:44 -0700
committerPokechu22 <Pokechu022@gmail.com>2024-09-23 22:47:44 -0700
commitb34b7f63eeb784d36444514955a26a045f491c9b (patch)
tree529666455ea0c2efb24ec0cd1954bfbfe570314c /Source/Core/Common/StringUtil.cpp
parentde67c4c93bd15846f68df4006dd2c93fba5720d2 (diff)
Fix random crash when using the cheat search
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.
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
0 files changed, 0 insertions, 0 deletions