SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 43e1e8517985743517c7d7c9cf8479b2ebebd721 parent ae14fcfbd75f3c786a39878f57277f1e83f9865e Author: Lior Halphon <LIJI32@gmail.com> Date: Mon, 25 Jul 2022 19:11:41 +0300 Style Diffstat:
| M | Core/display.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/display.c b/Core/display.c @@ -282,7 +282,7 @@ uint32_t GB_convert_rgb15(GB_gameboy_t *gb, uint16_t color, bool for_border) if (gb->color_correction_mode != GB_COLOR_CORRECTION_CORRECT_CURVES) { uint8_t new_r, new_g, new_b; if (agb) { - new_g = (g * 5 + b * 1) / 6; + new_g = (g * 5 + b) / 6; } else { new_g = (g * 3 + b) / 4;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.