mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Safer handling of NONE
This commit is contained in:
1 parent
3563d625b9
commit
a28ae79ef7
2 files changed
+6
No files matched your search
@@ -281,6 +281,10 @@ void OnScreenMessagesView::Draw(UIContext &dc) {
|
||||
auto &measuredEntry = measuredEntries[i];
|
||||
|
||||
ScreenEdgePosition pos = typeEdges[(size_t)entry.type];
|
||||
if (pos == ScreenEdgePosition::VALUE_COUNT) {
|
||||
// NONE.
|
||||
continue;
|
||||
}
|
||||
|
||||
measuredEntry.align = 0;
|
||||
measuredEntry.align2 = 0;
|
||||
|
||||
Reference in new issue
Block a user