mirror of https://github.com/LIJI32/SameBoy.git
Fix mathematical error in temperature_tint
This commit is contained in:
parent
31c53e8e05
commit
1cc131227c
|
@ -236,7 +236,7 @@ static inline void temperature_tint(double temperature, double *r, double *g, do
|
|||
*b = 0;
|
||||
}
|
||||
else {
|
||||
*b = sqrt(0.75 - temperature);
|
||||
*b = sqrt(0.75 - temperature) / sqrt(0.75);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue