mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
CheatSearch: Update Current Values at end of frame
At the end of each frame automatically update the Current Value for visible table rows in the selected and visible CheatSearchWidget (if any). Also update all Current Values in all CheatSearchWidgets when the State changes to Paused. Only updating visible table rows serves to minimize the performance cost of this feature. If the user scrolls to an un-updated cell it will promptly be updated by either the next VIEndFieldEvent or the State transitioning to Paused.
This commit is contained in:
@ -81,3 +81,6 @@ using BeforePresentEvent = Common::HookableEvent<"BeforePresent", PresentInfo&>;
|
||||
// An event that is triggered after a frame is presented.
|
||||
// The exact timing of this event depends on backend/driver support.
|
||||
using AfterPresentEvent = Common::HookableEvent<"AfterPresent", PresentInfo&>;
|
||||
|
||||
// An end of frame event that runs on the CPU thread
|
||||
using VIEndFieldEvent = Common::HookableEvent<"VIEndField">;
|
||||
|
Reference in New Issue
Block a user