mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Allow changing where general notifications pop up, just like with achievement notifications
This commit is contained in:
1 parent
eb10247d77
commit
7d8b0329be
48 files changed
+53
-2
No files matched your search
@@ -288,9 +288,9 @@ void OnScreenMessagesView::Draw(UIContext &dc) {
|
||||
edges[(size_t)ScreenEdgePosition::TOP_CENTER].alpha = 1.0f;
|
||||
|
||||
ScreenEdgePosition typeEdges[(size_t)OSDType::VALUE_COUNT]{};
|
||||
// Default to top.
|
||||
// Default to the configured position.
|
||||
for (int i = 0; i < (size_t)OSDType::VALUE_COUNT; i++) {
|
||||
typeEdges[i] = ScreenEdgePosition::TOP_CENTER;
|
||||
typeEdges[i] = (ScreenEdgePosition)g_Config.iNotificationPos;
|
||||
}
|
||||
|
||||
typeEdges[(size_t)OSDType::ACHIEVEMENT_CHALLENGE_INDICATOR] = (ScreenEdgePosition)g_Config.iAchievementsChallengePos;
|
||||
|
||||
Reference in new issue
Block a user