mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Safer handling of NONE
This commit is contained in:
1 parent
3563d625b9
commit
a28ae79ef7
2 files changed
+6
No files matched your search
@@ -171,6 +171,8 @@ void OnScreenDisplay::ShowLeaderboardTracker(int leaderboardTrackerID, const cha
|
||||
if (show) {
|
||||
// Just an update.
|
||||
entry.text = trackerText ? trackerText : "";
|
||||
// Bump the end-time, in case it was fading out.
|
||||
entry.endTime = now + forever_s;
|
||||
} else {
|
||||
// Keep the current text, hide and eventually delete it.
|
||||
entry.endTime = now + (double)FadeoutTime();
|
||||
|
||||
Reference in new issue
Block a user