Make the automation use the accurate RTC mode

This commit is contained in:
Lior Halphon 2021-02-26 01:09:40 +02:00
parent 34b0404ffa
commit cb721dae5d

View File

@ -380,6 +380,7 @@ int main(int argc, char **argv)
GB_set_log_callback(&gb, log_callback); GB_set_log_callback(&gb, log_callback);
GB_set_async_input_callback(&gb, async_input_callback); GB_set_async_input_callback(&gb, async_input_callback);
GB_set_color_correction_mode(&gb, GB_COLOR_CORRECTION_EMULATE_HARDWARE); GB_set_color_correction_mode(&gb, GB_COLOR_CORRECTION_EMULATE_HARDWARE);
GB_set_rtc_mode(&gb, GB_RTC_MODE_ACCURATE);
if (GB_load_rom(&gb, filename)) { if (GB_load_rom(&gb, filename)) {
perror("Failed to load ROM"); perror("Failed to load ROM");