diff --git a/Externals/wxWidgets/build/msw/wx_adv.vcproj b/Externals/wxWidgets/build/msw/wx_adv.vcproj index 4256fe97a0..eac0c62c26 100644 --- a/Externals/wxWidgets/build/msw/wx_adv.vcproj +++ b/Externals/wxWidgets/build/msw/wx_adv.vcproj @@ -153,7 +153,7 @@ /> + + @@ -1517,10 +1521,6 @@ /> - - > 4 + + 07c5 2380 lrs $AX1.H, @0xff80 + 07c6 8d00 set15 + 07c7 c810 mulc'mv $AC0.M, $AX1.H : $AX0.L, $AC0.L + 07c8 ae00 mulxmv $AX0.L, $AX1.H, $ACC0 + 07c9 8c00 clr15 + 07ca f000 lsl16 $ACC0 + 07cb 4e00 addp $ACC0 + // The above is a 32 bit mul - loopstart * format + + // 07cc 238c lrs $AX1.H, @0xff8c + // 07cd 218d lrs $AX1.L, @0xff8d + // 07ce 4a00 addax $ACC0, $AX1 + // 07cf 2e38 srs @0x0038, $AC0.M + // 07d0 2c39 srs @0x0039, $AC0.L + So, CurAddr = Loopstart * format + Startaddr + + // 07d1 2682 lrs $AC0.M, @0xff82 + // 07d2 2e67 srs @0x0067, $AC0.M + // 07d3 2683 lrs $AC0.M, @0xff83 + // 07d4 2e66 srs @0x0066, $AC0.M + Unconditionally (!) copy YN1 and YN2 from loopyn2 and loopyn1 + + 07d5 00e3 0363 sr @0x0363, $AR3 + 07d7 0083 0458 lri $AR3, #0x0458 + 07d9 8100 clr $ACC0 + 07da 0e01 lris $AC0.M, #0x01 + + // 07db 02bf 07eb call 0x07eb + 07eb_AFCDecoder(); + + 07dd 00c3 0363 lr $AR3, @0x0363 + 07df 02bf 0729 call 0x0729 + 07e1 029f 0749 jmp 0x0749 + + // No repeat + // stop rendering of this PB (0x401 == 1) and clear the output buffer with zeroes... + 07e3 0e01 lris $AC0.M, #0x01 + 07e4 2e01 srs @0x0001, $AC0.M early_out: // Zero the buffer. - 07e5 8100 clr $ACC0 - 07e6 005f loop $AC1.M - 07e7 1b7e srri @$AR3, $AC0.M - 07e8 0092 00ff lri $CR, #0x00ff - - // 07ea 02df ret - return + 07e5 8100 clr $ACC0 + 07e6 005f loop $AC1.M + 07e7 1b7e srri @$AR3, $AC0.M + 07e8 0092 00ff lri $CR, #0x00ff + + // 07ea 02df ret + return } } @@ -2823,9 +2841,9 @@ void 07eb_AFCDecoder(_numberOfSample(AC0.M)) // 07fc 4c00 add $ACC0, $ACC1 // 07fd 2e38 srs @0x0038, $AC0.M // 07fe 2c39 srs @0x0039, $AC0.L - //inrease sample offset in ARAM + // increase sample offset in ARAM AC0 = (*0x0038 << 16) | *0x0039 - AC1 = _numberOfSample * *0x0480 // bytes per sample + AC1 = AC0 + _numberOfSample * *0x0480 // bytes per sample *0x0038 = AC0.M *0x0039 = AC0.L