From aa9ebb6c1cca4bdb54b32a5820955942404bc67a Mon Sep 17 00:00:00 2001 From: sukibaby <163092272+sukibaby@users.noreply.github.com> Date: Tue, 10 Jun 2025 21:45:51 -0700 Subject: [PATCH] DSoundHelpers: directly call memset instead of using a RageUtil macro Removes an instance of the ZERO(x) macro. --- src/arch/Sound/DSoundHelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/Sound/DSoundHelpers.cpp b/src/arch/Sound/DSoundHelpers.cpp index c3fd8fcd44..e60c32136c 100644 --- a/src/arch/Sound/DSoundHelpers.cpp +++ b/src/arch/Sound/DSoundHelpers.cpp @@ -207,7 +207,7 @@ RString DSoundBuf::Init( DSound &ds, DSoundBuf::hw hardware, m_iExtraWriteahead = 0; m_iLastPosition = 0; m_bPlaying = false; - ZERO( m_iLastCursors ); + memset( &(m_iLastCursors), 0, sizeof(m_iLastCursors) ); /* The size of the actual DSound buffer. This can be large; we generally * won't fill it completely. */