mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's. This also reduces reasons for linkage issues.
This commit is contained in:
1 parent
2862253f12
commit
27d135d48a
7 files changed
+58
-35
No files matched your search
@@ -400,7 +400,10 @@ namespace MainWindow {
|
||||
g_Config.iInternalScreenRotation = rotation;
|
||||
}
|
||||
|
||||
static void SaveStateActionFinished(bool result, void *userdata) {
|
||||
static void SaveStateActionFinished(bool result, const std::string &message, void *userdata) {
|
||||
if (!message.empty()) {
|
||||
osm.Show(message, 2.0);
|
||||
}
|
||||
PostMessage(MainWindow::GetHWND(), WM_USER_SAVESTATE_FINISH, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user