Small cleanup and made it a bit faster.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@968 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-04-13 09:48:28 +00:00
parent 6e1805de36
commit b14881769a
3 changed files with 5 additions and 6 deletions

View File

@ -579,7 +579,7 @@ struct VoiceMixSet
const VoiceMixSet VoiceMixSet::Empty( StereoOut32::Empty, StereoOut32::Empty );
static void __fastcall MixCoreVoices( VoiceMixSet& dest, const uint coreidx )
static __forceinline void MixCoreVoices( VoiceMixSet& dest, const uint coreidx )
{
V_Core& thiscore( Cores[coreidx] );

View File

@ -42,7 +42,6 @@ void (* dma7callback)();
short *spu2regs;
short *_spu2mem;
s32 uTicks;
u8 callirq;
@ -61,8 +60,6 @@ bool hasPtr=false;
int PlayMode;
s16 attrhack[2]={0,0};
#ifdef _MSC_VER
HINSTANCE hInstance;
CRITICAL_SECTION threadSync;
@ -376,7 +373,7 @@ static __forceinline void RestoreMMXRegs()
#endif
}
void __fastcall TimeUpdate(u32 cClocks)
__forceinline void TimeUpdate(u32 cClocks)
{
u32 dClocks = cClocks-lClocks;

View File

@ -97,7 +97,9 @@ EXPORT_C_(s32) SPU2test();
#include "Spu2replay.h"
#ifdef SPU2X_DEVBUILD
#define SPU2_LOG
#endif
#include "Debug.h"
@ -177,7 +179,7 @@ extern bool hasPtr;
extern void SPU2writeLog( const char* action, u32 rmem, u16 value );
extern void __fastcall TimeUpdate(u32 cClocks);
extern void TimeUpdate(u32 cClocks);
extern u16 SPU_ps1_read(u32 mem);
extern void SPU_ps1_write(u32 mem, u16 value);
extern void SPU2_FastWrite( u32 rmem, u16 value );