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:
committed by
Augustin Cavalier
parent
f92ba94cd3
commit
e5cb76befd
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user