fix spu in non-windows builds.

This commit is contained in:
zeromus 2009-05-16 16:32:35 +00:00
parent 7904345439
commit 4c1061b84b
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//#undef FORCEINLINE
//#define FORCEINLINE
#undef SPU_INTERPOLATE
SPU_struct *SPU_core = 0;
SPU_struct *SPU_user = 0;
@ -690,7 +691,7 @@ template<bool ADPCM_CACHED> static FORCEINLINE void Fetch16BitData(const channel
}
*data = a;
#else
*data = (s32)chan->buf16[sputrunc(chan->sampcnt)];
*data = (s32)buf16[sputrunc(chan->sampcnt)];
#endif
}