mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Support the boot message before the menu.
This makes it work if you use File -> Open right away.
This commit is contained in:
parent
086fd24edb
commit
d0ecaa10a7
2 changed files with 7 additions and 0 deletions
|
@ -134,6 +134,12 @@ void LogoScreen::update(InputState &input_state) {
|
|||
}
|
||||
}
|
||||
|
||||
void LogoScreen::sendMessage(const char *message, const char *value) {
|
||||
if (!strcmp(message, "boot")) {
|
||||
screenManager()->switchScreen(new EmuScreen(value));
|
||||
}
|
||||
}
|
||||
|
||||
void LogoScreen::render() {
|
||||
float t = (float)frames_ / 60.0f;
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ public:
|
|||
: bootFilename_(bootFilename), frames_(0) {}
|
||||
void update(InputState &input);
|
||||
void render();
|
||||
void sendMessage(const char *message, const char *value);
|
||||
|
||||
private:
|
||||
std::string bootFilename_;
|
||||
|
|
Loading…
Add table
Reference in a new issue