changed an outdated comment.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2466 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2010-01-22 02:13:42 +00:00
parent ca92c6f7b2
commit 242311ab1f
2 changed files with 6 additions and 7 deletions

View File

@ -607,9 +607,9 @@ static u32 ringtx_inf[32][32];
static u32 ringtx_inf_s[32]; static u32 ringtx_inf_s[32];
#endif #endif
// returns the amount of giftag data not processed (in simd128 values). // Returns the amount of giftag data processed (in simd128 values).
// Return value is used by VU1 XGKICK to hack-fix data packets which are too // Return value is used by VU1's XGKICK instruction to wrap the data
// large for VU1 memory. // around VU memory instead of having buffer overflow...
// Parameters: // Parameters:
// size - size of the packet data, in smd128's // size - size of the packet data, in smd128's
int SysMtgsThread::PrepDataPacket( GIF_PATH pathidx, const u8* srcdata, u32 size ) int SysMtgsThread::PrepDataPacket( GIF_PATH pathidx, const u8* srcdata, u32 size )

View File

@ -293,8 +293,7 @@ static __forceinline void gsHandler(const u8* pMem)
if (pMem>=vuMemEnd) pMem -= 0x4000; \ if (pMem>=vuMemEnd) pMem -= 0x4000; \
} while(false) } while(false)
#define aMin(x, y) std::min( x, y ) #define aMin(x, y) std::min(x, y)
#define subVal(x, y) ((x > y) ? (x-y) : 0 )
// Parameters: // Parameters:
// size (path1) - difference between the end of VU memory and pMem. // size (path1) - difference between the end of VU memory and pMem.
@ -342,8 +341,8 @@ __forceinline int GIFPath::ParseTag(GIF_PATH pathidx, const u8* pMem, u32 size)
case GIF_FLG_IMAGE2: case GIF_FLG_IMAGE2:
{ {
int len = aMin(size, nloop); int len = aMin(size, nloop);
incTag((len * 16), len); incTag(( len * 16 ), len);
nloop -= len; nloop -= len;
} }
break; break;
} }