From b2467a603257291404a12142d19835ffe94549c9 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 17 Mar 2012 19:56:32 +0000 Subject: [PATCH] metaspu: make GetAlignedBufferSize static --- desmume/src/metaspu/SndOut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/metaspu/SndOut.cpp b/desmume/src/metaspu/SndOut.cpp index 627a4aee1..1377ba515 100644 --- a/desmume/src/metaspu/SndOut.cpp +++ b/desmume/src/metaspu/SndOut.cpp @@ -121,7 +121,7 @@ StereoOut32* SndBuffer::sndTempBuffer = NULL; StereoOut16* SndBuffer::sndTempBuffer16 = NULL; int SndBuffer::sndTempProgress = 0; -int GetAlignedBufferSize( int comp ) +static int GetAlignedBufferSize( int comp ) { return (comp + SndOutPacketSize-1) & ~(SndOutPacketSize-1); }