From 36a87f96bd800fb07f33cb5e4b41a3c27354a88b Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 21 Jun 2019 16:58:56 +0300 Subject: [PATCH] Formatting --- Core/display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/display.c b/Core/display.c index 49723461..cf532167 100644 --- a/Core/display.c +++ b/Core/display.c @@ -916,17 +916,17 @@ void GB_display_run(GB_gameboy_t *gb, uint8_t cycles) if (gb->frame_skip_state == GB_FRAMESKIP_LCD_TURNED_ON) { if (!GB_is_sgb(gb) || gb->current_lcd_line < LINES) { - display_vblank(gb); + display_vblank(gb); } gb->frame_skip_state = GB_FRAMESKIP_SECOND_FRAME_RENDERED; } else { gb->frame_skip_state = GB_FRAMESKIP_SECOND_FRAME_RENDERED; if (!GB_is_sgb(gb) || gb->current_lcd_line < LINES) { - display_vblank(gb); + display_vblank(gb); + } } } - } GB_STAT_update(gb); GB_SLEEP(gb, display, 13, LINE_LENGTH - 4);