mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
Memset the ringbuffer in m_fs_config by the size of the actual ringbuffer struct, not FsRingBufferConfig.
This commit is contained in:
parent
7804c56584
commit
12b627fa9c
@ -33,12 +33,12 @@ struct FsRingBufferConfig
|
||||
, m_alloc_mem_size(0)
|
||||
, m_current_addr(0)
|
||||
{
|
||||
memset(&m_ring_buffer, 0, sizeof(FsRingBufferConfig));
|
||||
memset(&m_ring_buffer, 0, sizeof(FsRingBuffer));
|
||||
}
|
||||
|
||||
~FsRingBufferConfig()
|
||||
{
|
||||
memset(&m_ring_buffer, 0, sizeof(FsRingBufferConfig));
|
||||
memset(&m_ring_buffer, 0, sizeof(FsRingBuffer));
|
||||
}
|
||||
} m_fs_config;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user