mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-23 12:02:48 +02:00
Use color correction in the QL previewer
This commit is contained in:
@@ -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_rgb_encode_callback(&gb, rgb_encode);
|
||||||
GB_set_async_input_callback(&gb, async_input_callback);
|
GB_set_async_input_callback(&gb, async_input_callback);
|
||||||
GB_set_log_callback(&gb, log_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)) {
|
if (GB_load_rom(&gb, filename)) {
|
||||||
GB_free(&gb);
|
GB_free(&gb);
|
||||||
|
Reference in New Issue
Block a user