mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
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:
parent
fb38897b8f
commit
2601933bdc
8 changed files with 96 additions and 93 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue