TextureBorderColor & cellFont problems fixed

* Fixed tabs/spaces problem in cellSysutil.h too.

NOTE: The problem with cellFont (crash on line 604) has been fixed, but
for a high price: There is now a huge memory leak when a NULL pointer is
passed to cellFontRenderSurfaceInit.
This commit is contained in:
Alexandro Sánchez Bach 2014-03-18 17:45:26 +01:00
parent fb38897b8f
commit 2601933bdc
8 changed files with 96 additions and 93 deletions

View file

@ -322,12 +322,8 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, mem32_ptr_t& args, const u3
}
break;
case NV4097_SET_TEXTURE_BORDER_COLOR:
case_16(NV4097_SET_TEXTURE_BORDER_COLOR,0x20):
{
m_set_texture_border_color = true;
u32 tmp = ARGS(0);
m_border_color=((tmp & 0x00FFFFFF)<<8)|((tmp & 0xFF000000)>>24);
break;
}
case NV4097_SET_SURFACE_FORMAT: