From 30a58ecd5cc3e40fe6f0996cd97d6beff7f9141a Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 12 Jul 2019 01:53:20 +0300 Subject: [PATCH] Use color correction in the QL previewer --- QuickLook/get_image_for_rom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/QuickLook/get_image_for_rom.c b/QuickLook/get_image_for_rom.c index e0482ec..3950dac 100755 --- a/QuickLook/get_image_for_rom.c +++ b/QuickLook/get_image_for_rom.c @@ -58,6 +58,7 @@ int get_image_for_rom(const char *filename, const char *boot_path, uint32_t *out GB_set_rgb_encode_callback(&gb, rgb_encode); GB_set_async_input_callback(&gb, async_input_callback); GB_set_log_callback(&gb, log_callback); + GB_set_color_correction_mode(&gb, GB_COLOR_CORRECTION_EMULATE_HARDWARE); if (GB_load_rom(&gb, filename)) { GB_free(&gb);