mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 00:50:53 +01:00
2ddf2c3ba2
Since the description updating is tied to the selection changing on the detail list, and the detail list is recreated on each object change, behavior was somewhat broken. Clearing the list changed the current row to zero, but nothing else (particularly m_object_data_offsets) had been updated, so the description was not necessarily correct (this is easier to observe now since the vertex data is at the end, so it's easier to get different lengths of register updates). Furthermore, subsequent clears did not update the current row since there was no visible selection, so it only changed the description once. The current row is now always set to zero, which forces an update (and also scrolls the list back to the top). The presence of FRAME_ROLE and OBJECT_ROLE are also checked so that the description is cleared if no object is selected. |
||
---|---|---|
.. | ||
FIFOAnalyzer.cpp | ||
FIFOAnalyzer.h | ||
FIFOPlayerWindow.cpp | ||
FIFOPlayerWindow.h |