diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp index e8808a684d..981da2d2c9 100644 --- a/Source/Core/VideoCommon/Statistics.cpp +++ b/Source/Core/VideoCommon/Statistics.cpp @@ -2,7 +2,6 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. -#include #include #include @@ -17,7 +16,7 @@ Statistics stats; void Statistics::ResetFrame() { - memset(&thisFrame, 0, sizeof(ThisFrame)); + thisFrame = {}; } void Statistics::SwapDL()