accelerants/radeon: fix gcc6 build

* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
Murai Takashi
2016-05-13 15:38:02 -04:00
committed by Augustin Cavalier
parent f92ba94cd3
commit e5cb76befd
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -187,11 +187,11 @@ void moveOneCursor( accelerator_info *ai, int crtc_idx, int x, int y )
xorigin = 0;
yorigin = 0;
if( x < 0 )
xorigin = -x;
if( x < 0 )
xorigin = -x;
if( y < 0 )
yorigin = -y;
if( y < 0 )
yorigin = -y;
if( crtc_idx == 0 ) {
OUTREG( ai->regs, RADEON_CUR_HORZ_VERT_OFF, RADEON_CUR_LOCK
+2 -2
View File
@@ -509,8 +509,8 @@ void Radeon_CalcImpacTVRegisters(
(1 << RADEON_TV_CLOCK_SEL_CNTL_BYTCLKD_SHIFT);
values->tv_clkout_cntl = 0x09;
if( !internal_encoder )
values->tv_clkout_cntl |= 1 << 5;
if( !internal_encoder )
values->tv_clkout_cntl |= 1 << 5;
values->tv_htotal = mode->timing.h_total - 1;
values->tv_hsize = mode->timing.h_display;