GregMiscellaneous: zzogl-pg:

* #if 0 some codes that are not called anymore.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3779 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-09-16 11:57:25 +00:00
parent 337e573c35
commit 14174a8c9a
2 changed files with 5 additions and 0 deletions

View File

@ -560,6 +560,7 @@ static __forceinline u32 RGBA16to32(u16 c)
(((c) & 0x8000) ? 0xff000000 : 0);
}
#if 0
// converts float16 [0,1] to BYTE [0,255] (assumes value is in range, otherwise will take lower 8bits)
// f is a u16
static __forceinline u16 Float16ToBYTE(u16 f)
@ -605,6 +606,7 @@ static __forceinline u16 Float16ToALPHA(u16 f)
// used for Z values
#define Float16ToARGB_Z(f) COLOR_ARGB((u32)Float16ToBYTE_2(f.w), Float16ToBYTE_2(f.x), Float16ToBYTE_2(f.y), Float16ToBYTE_2(f.z))
#define Float16ToARGB16_Z(f) ((Float16ToBYTE_2(f.y)<<8)|Float16ToBYTE_2(f.z))
#endif
inline float Clamp(float fx, float fmin, float fmax)

View File

@ -2892,6 +2892,7 @@ void FlushTransferRanges(const tex0Info* ptex)
}
#if 0
// I removed some code here that wasn't getting called. The old versions #if'ed out below this.
#define RESOLVE_32_BIT(PSM, T, Tsrc, convfn) \
{ \
@ -2924,6 +2925,8 @@ void FlushTransferRanges(const tex0Info* ptex)
} \
} \
#endif
template <typename T, typename Tret>
inline Tret dummy_return(T value) { return value; }