zzogl-pg: fixed a whole bunch of signed/unsigned warnings in Mem_Transit, and a macro redefinition warning.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3036 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-05-17 15:56:41 +00:00
parent a11cb73f5b
commit d843f4bcc3
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ extern u8* pstart;
// transfers whole rows // transfers whole rows
template <class T> template <class T>
static __forceinline const T *TransmitHostLocalY_(_writePixel_0 wp, u32 widthlimit, u32 endY, const T *buf) static __forceinline const T *TransmitHostLocalY_(_writePixel_0 wp, s32 widthlimit, int endY, const T *buf)
{ {
assert((nSize % widthlimit) == 0 && widthlimit <= 4); assert((nSize % widthlimit) == 0 && widthlimit <= 4);
@ -73,7 +73,7 @@ static __forceinline const T *TransmitHostLocalY_(_writePixel_0 wp, u32 widthlim
// transfers whole rows // transfers whole rows
template <class T> template <class T>
static __forceinline const T *TransmitHostLocalY_24(_writePixel_0 wp, u32 widthlimit, u32 endY, const T *buf) static __forceinline const T *TransmitHostLocalY_24(_writePixel_0 wp, s32 widthlimit, int endY, const T *buf)
{ {
if (widthlimit != 8 || ((gs.imageEndX - gs.trxpos.dx) % widthlimit)) if (widthlimit != 8 || ((gs.imageEndX - gs.trxpos.dx) % widthlimit))
{ {
@ -146,7 +146,7 @@ static __forceinline const T *TransmitHostLocalY_24(_writePixel_0 wp, u32 widthl
// meant for 4bit transfers // meant for 4bit transfers
template <class T> template <class T>
static __forceinline const T *TransmitHostLocalY_4(_writePixel_0 wp, u32 widthlimit, u32 endY, const T *buf) static __forceinline const T *TransmitHostLocalY_4(_writePixel_0 wp, s32 widthlimit, int endY, const T *buf)
{ {
for (; tempY < endY; ++tempY) for (; tempY < endY; ++tempY)
{ {
@ -194,7 +194,7 @@ static __forceinline const T *TransmitHostLocalY_4(_writePixel_0 wp, u32 widthli
} }
template <class T> template <class T>
static __forceinline const T *TransmitHostLocalY(TransferData data, _writePixel_0 wp, u32 widthlimit, u32 endY, const T *buf) static __forceinline const T *TransmitHostLocalY(TransferData data, _writePixel_0 wp, s32 widthlimit, int endY, const T *buf)
{ {
switch (data.psm) switch (data.psm)
{ {

View File

@ -224,7 +224,7 @@ static bool SPAM_PASS;
#endif #endif
//#define WRITE_PRIM_LOGS //#define WRITE_PRIM_LOGS
#ifdef _DEBUG #if defined(_DEBUG) && !defined(ZEROGS_DEVBUILD)
#define ZEROGS_DEVBUILD #define ZEROGS_DEVBUILD
#endif #endif