mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-26 03:04:20 +00:00
Let the UI update the confirm cancel keys when the user presses back. They may have changed the O/X preference option.
This commit is contained in:
parent
968150cc77
commit
20166c7f4f
@ -151,5 +151,6 @@ namespace KeyMap {
|
||||
|
||||
void RestoreDefault();
|
||||
void QuickMap(int device);
|
||||
}
|
||||
|
||||
void UpdateConfirmCancelKeys();
|
||||
}
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "math/curves.h"
|
||||
#include "Core/HW/atrac3plus.h"
|
||||
#include "Core/System.h"
|
||||
#include "Common/KeyMap.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "Core/Host.h"
|
||||
@ -455,6 +456,8 @@ UI::EventReturn GameSettingsScreen::OnBack(UI::EventParams &e) {
|
||||
PostMessage(MainWindow::hwndMain, MainWindow::WM_USER_ATRAC_STATUS_CHANGED, 0, 0);
|
||||
#endif
|
||||
|
||||
KeyMap::UpdateConfirmCancelKeys();
|
||||
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user