diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index f31ec16b3e..14a8f534f4 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -710,7 +710,7 @@ static void recResetRaw() maxrecmem = 0; - memset(recConstBuf, 0, RECCONSTBUF_SIZE * sizeof(recConstBuf)); + memset(recConstBuf, 0, RECCONSTBUF_SIZE * sizeof(*recConstBuf)); if( s_pInstCache ) memset( s_pInstCache, 0, sizeof(EEINST)*s_nInstCacheSize );