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:
The Dax 2013-08-22 07:10:06 -04:00
parent 968150cc77
commit 20166c7f4f
2 changed files with 5 additions and 1 deletions

View File

@ -151,5 +151,6 @@ namespace KeyMap {
void RestoreDefault();
void QuickMap(int device);
}
void UpdateConfirmCancelKeys();
}

View File

@ -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;
}