diff --git a/pcsx2/gui/Debugger/DebuggerLists.cpp b/pcsx2/gui/Debugger/DebuggerLists.cpp index fc8b9d6274..fb70350d23 100644 --- a/pcsx2/gui/Debugger/DebuggerLists.cpp +++ b/pcsx2/gui/Debugger/DebuggerLists.cpp @@ -384,7 +384,7 @@ void BreakpointList::onPopupClick(wxCommandEvent& evt) } } -void BreakpointList::showMenu(wxPoint& pos) +void BreakpointList::showMenu(const wxPoint& pos) { bool isMemory; int index = getBreakpointIndex(GetFirstSelected(),isMemory); diff --git a/pcsx2/gui/Debugger/DebuggerLists.h b/pcsx2/gui/Debugger/DebuggerLists.h index 53635be911..98f9537787 100644 --- a/pcsx2/gui/Debugger/DebuggerLists.h +++ b/pcsx2/gui/Debugger/DebuggerLists.h @@ -49,7 +49,7 @@ private: void gotoBreakpointAddress(int itemIndex); void removeBreakpoint(int itemIndex); void postEvent(wxEventType type, int value); - void showMenu(wxPoint& pos); + void showMenu(const wxPoint& pos); std::vector displayedBreakPoints_; std::vector displayedMemChecks_;