From c850d0d86cce4d58b9dca7169f347ba7922b52b6 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 10 Dec 2006 11:08:17 +0000 Subject: [PATCH] Remove bogus assert. As long as dest is on a 4 byte boundary and src is on a 2 byte boundary (which gcc will ensure unless you're casting into to those types), this works correct. (Retested.) --- stepmania/src/archutils/Darwin/VectorHelper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/archutils/Darwin/VectorHelper.cpp b/stepmania/src/archutils/Darwin/VectorHelper.cpp index d1bf3ee44f..7d8e093036 100644 --- a/stepmania/src/archutils/Darwin/VectorHelper.cpp +++ b/stepmania/src/archutils/Darwin/VectorHelper.cpp @@ -1,4 +1,5 @@ #include "global.h" +#include #include "VectorHelper.h" #include "RageUtil.h" #include @@ -32,9 +33,6 @@ bool Vector::CheckForVector() * Idea from: http://developer.apple.com/hardwaredrivers/ve/downloads/add.c */ void Vector::FastSoundWrite( int32_t *dest, const int16_t *src, unsigned size, short volume ) { - if( size == 0 ) - return; - ASSERT_M( (intptr_t(dest) & 0x7) == 0, ssprintf("dest = %p", dest) ); if( size > 7 ) { int index = 0;