SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 1cc131227cb1c1ddc9620ef1e62bfe179c2bfcb6 parent 31c53e8e050032b3dbbf9776b5852728aa9e93ae Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 21 Jan 2023 01:25:51 +0200 Fix mathematical error in temperature_tint Diffstat:
| M | Core/display.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/display.c b/Core/display.c @@ -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 {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.