parent
8a94204a2f
commit
3d5b068c2f
|
@ -88,9 +88,9 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES
|
|||
g = Math.Min(1.0f, Math.Max(0.0f, g));
|
||||
b = Math.Min(1.0f, Math.Max(0.0f, b));
|
||||
|
||||
outp[0] = (byte)(r * 255);
|
||||
outp[1] = (byte)(g * 255);
|
||||
outp[2] = (byte)(b * 255);
|
||||
outp[0] = (byte)Math.Round(r * 255);
|
||||
outp[1] = (byte)Math.Round(g * 255);
|
||||
outp[2] = (byte)Math.Round(b * 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue