Commit e1b307ff authored by Fabian Bauer's avatar Fabian Bauer
Browse files

fix basop saturation warning

parent d4b80324
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -424,13 +424,13 @@ void tcx_arith_scale_envelope(
    tmp = getScaleFactor32( env, L_frame );
    *s_env_e = sub( add( 15, iscale_e ), tmp );
    move16();
    BASOP_SATURATE_WARNING_OFF_EVS;
#ifdef ISSUE_1836_replace_overflow_libcom
    a = L_shl_sat( 1265000, sub( 15, *s_env_e ) );
#else
    BASOP_SATURATE_WARNING_OFF_EVS;
    a = L_shl_o( 1265000, sub( 15, *s_env_e ), &Overflow );
    BASOP_SATURATE_WARNING_ON_EVS;
#endif
    BASOP_SATURATE_WARNING_ON_EVS;

    FOR( k = 0; k < L_frame; k++ )
    {