add lcemp networking + ps3 support
YES I KNOW ITS GARBAGE, THATS WHY ITS NOT ON MAIN ILL FIX IT UP IN FUTURE COMMITS THEN MERGE TO MAIN
This commit is contained in:
@@ -334,8 +334,9 @@ HRESULT Compression::Decompress(void *pDestination, unsigned int *pDestSize, voi
|
||||
*pDestSize = (unsigned int)destSize;
|
||||
return ( ( res == Z_OK ) ? S_OK : -1 );
|
||||
#elif defined __PS3__
|
||||
uint32_t destSize = (uint32_t)(*pDestSize);
|
||||
bool res = EdgeZLib::Decompress(pDestination, &destSize, pSource, SrcSize);
|
||||
uLongf destSize = (uLongf)(*pDestSize);
|
||||
bool res = uncompress((Bytef*)pDestination, &destSize, (Bytef*)pSource, SrcSize);
|
||||
|
||||
*pDestSize = (unsigned int)destSize;
|
||||
return ( ( res ) ? S_OK : -1 );
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user