From 1306830c58785d1fe43900082e318344b4e49af1 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 17 May 2014 20:55:10 +0000 Subject: [PATCH] Frame Counter red when a lag frame, not sure when this got broke --- BizHawk.Client.EmuHawk/DisplayManager/OSDManager.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.EmuHawk/DisplayManager/OSDManager.cs b/BizHawk.Client.EmuHawk/DisplayManager/OSDManager.cs index 52427f52e1..81ce7b21f0 100644 --- a/BizHawk.Client.EmuHawk/DisplayManager/OSDManager.cs +++ b/BizHawk.Client.EmuHawk/DisplayManager/OSDManager.cs @@ -342,7 +342,12 @@ namespace BizHawk.Client.EmuHawk float x = GetX(g, Global.Config.DispFrameCx, Global.Config.DispFrameanchor, message); float y = GetY(g, Global.Config.DispFrameCy, Global.Config.DispFrameanchor, message); - DrawOsdMessage(g, message, Color.FromArgb(Global.Config.MessagesColor), x, y); + DrawOsdMessage( + g, + message, + Global.Emulator.IsLagFrame ? FixedAlertMessageColor : Color.FromArgb(Global.Config.MessagesColor), + x, + y); } if (Global.Config.DisplayInput) @@ -406,7 +411,7 @@ namespace BizHawk.Client.EmuHawk var x = GetX(g, Global.Config.DispLagx, Global.Config.DispLaganchor, counter); var y = GetY(g, Global.Config.DispLagy, Global.Config.DispLaganchor, counter); - DrawOsdMessage(g, counter, (Global.Emulator.IsLagFrame ? FixedAlertMessageColor : FixedAlertMessageColor), x, y); + DrawOsdMessage(g, counter, FixedAlertMessageColor, x, y); } if (Global.Config.DisplayRerecordCount)