From 3bc9425bad768fe6be013a4d06a9e9895712fd56 Mon Sep 17 00:00:00 2001 From: Lorenzooone Date: Thu, 27 Mar 2025 18:20:22 +0100 Subject: [PATCH] Differentiate GBC and GBA color correction --- source/frontend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/frontend.cpp b/source/frontend.cpp index 205b3b7..eb98dd0 100755 --- a/source/frontend.cpp +++ b/source/frontend.cpp @@ -379,7 +379,7 @@ const ShaderColorEmulationData color_profile_identity = { }; const ShaderColorEmulationData color_profile_libretro_gba = { -.targetGamma = 2.2f, .lum = 0.91f, +.targetGamma = 2.2f + (0.28125 * 1.6), .lum = 0.91f, .rgb_mod = { {0.905f, 0.195f, -0.1f}, {0.1f, 0.65f, 0.25f}, @@ -463,7 +463,7 @@ const ShaderColorEmulationData color_profile_libretro_emulators_gba = { }; const ShaderColorEmulationData color_profile_libretro_gbc = { -.targetGamma = 2.2f, .lum = 0.91f, +.targetGamma = 2.2f + (0.5 * (-1.0)), .lum = 0.91f, .rgb_mod = { {0.905f, 0.195f, -0.1f}, {0.1f, 0.65f, 0.25f},