mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Clean up double creation of memory debugger.
This commit is contained in:
1 parent
8f09a341df
commit
d0d4e665d1
5 files changed
+39
-8
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "Common/CommonWindows.h"
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
|
||||
|
||||
@@ -68,6 +69,11 @@ void DialogManager::AddDlg(Dialog *dialog)
|
||||
dialogs.push_back(dialog);
|
||||
}
|
||||
|
||||
void DialogManager::RemoveDlg(Dialog *dialog)
|
||||
{
|
||||
dialogs.erase(std::remove(dialogs.begin(), dialogs.end(), dialog), dialogs.end());
|
||||
}
|
||||
|
||||
|
||||
bool DialogManager::IsDialogMessage(LPMSG message)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user