mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Tidy up binaryBlob initialization to use SDL_zeroa()
It's simpler and more concise than writing out the SDL_memset() in full, which means you're less likely to screw up those lines of code.
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
binaryBlob::binaryBlob()
|
||||
{
|
||||
numberofHeaders = 0;
|
||||
SDL_memset(m_headers, 0, sizeof(m_headers));
|
||||
SDL_memset(m_memblocks, 0, sizeof(m_memblocks));
|
||||
SDL_zeroa(m_headers);
|
||||
SDL_zeroa(m_memblocks);
|
||||
}
|
||||
|
||||
#ifdef VVV_COMPILEMUSIC
|
||||
|
||||
Reference in New Issue
Block a user