mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue