mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-07 14:19:19 +00:00
Don't push the second srcreen.
This commit is contained in:
parent
a8692d36fe
commit
b59636003d
@ -31,6 +31,7 @@
|
||||
#include "UI/ui_atlas.h"
|
||||
#include "UI/ControlMappingScreen.h"
|
||||
#include "UI/UIShader.h"
|
||||
#include "UI/GameSettingsScreen.h"
|
||||
|
||||
extern void DrawBackground(float alpha);
|
||||
|
||||
@ -218,7 +219,7 @@ void ControlMappingScreen::sendMessage(const char *message, const char *value) {
|
||||
}
|
||||
if (!strcmp(message, "settings")) {
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
screenManager()->finishDialog(this, DR_OK);
|
||||
screenManager()->push(new GameSettingsScreen(""));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -560,7 +560,6 @@ void MainScreen::sendMessage(const char *message, const char *value) {
|
||||
}
|
||||
if (!strcmp(message, "control mapping")) {
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
screenManager()->push(new GameSettingsScreen(""));
|
||||
screenManager()->push(new ControlMappingScreen());
|
||||
}
|
||||
if (!strcmp(message, "settings")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user