mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
FifoPlayer: Add a search function for the analyzer tab.
Also some tiny fixes.
This commit is contained in:
@ -45,6 +45,12 @@ private:
|
||||
void OnNumFramesToRecord( wxSpinEvent& event );
|
||||
void OnCloseClick( wxCommandEvent& event );
|
||||
|
||||
void OnBeginSearch(wxCommandEvent& event);
|
||||
void OnFindNextClick(wxCommandEvent& event);
|
||||
void OnFindPreviousClick(wxCommandEvent& event);
|
||||
void OnSearchFieldTextChanged(wxCommandEvent& event);
|
||||
void ChangeSearchResult(unsigned int result_idx);
|
||||
|
||||
void OnRecordingFinished(wxCommandEvent& event);
|
||||
void OnFrameWritten(wxCommandEvent& event);
|
||||
|
||||
@ -103,6 +109,20 @@ private:
|
||||
std::vector<u32> m_objectCmdOffsets;
|
||||
wxStaticText* m_objectCmdInfo;
|
||||
|
||||
wxTextCtrl* m_searchField;
|
||||
wxButton* m_beginSearch;
|
||||
wxButton* m_findNext;
|
||||
wxButton* m_findPrevious;
|
||||
wxStaticText* m_numResultsText;
|
||||
|
||||
struct SearchResult {
|
||||
int frame_idx;
|
||||
int obj_idx;
|
||||
int cmd_idx;
|
||||
};
|
||||
std::vector<SearchResult> search_results;
|
||||
unsigned int m_search_result_idx;
|
||||
|
||||
wxButton* m_Close;
|
||||
|
||||
s32 m_FramesToRecord;
|
||||
|
Reference in New Issue
Block a user