mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Don't write buffer address to RDRAM for CFB buffers.
This commit is contained in:
parent
3db3e02cab
commit
3a27056759
|
@ -264,7 +264,8 @@ void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _widt
|
|||
// HACK ALERT: Dirty hack for Mario Tennis score board
|
||||
if (bNew && (m_pCurrent->m_startAddress == 0x13ba50 || m_pCurrent->m_startAddress == 0x264430))
|
||||
g_RDRAMtoFB.CopyFromRDRAM(m_pCurrent->m_startAddress, false);
|
||||
*(u32*)&RDRAM[m_pCurrent->m_startAddress] = m_pCurrent->m_startAddress;
|
||||
if (!_cfb)
|
||||
*(u32*)&RDRAM[m_pCurrent->m_startAddress] = m_pCurrent->m_startAddress;
|
||||
|
||||
m_pCurrent->m_cleared = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user