summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWStatistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWStatistics.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWStatistics.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWStatistics.cpp b/Source/Core/VideoBackends/Software/SWStatistics.cpp
new file mode 100644
index 0000000000..44892d6b94
--- /dev/null
+++ b/Source/Core/VideoBackends/Software/SWStatistics.cpp
@@ -0,0 +1,18 @@
+// Copyright 2008 Dolphin Emulator Project
+// Licensed under GPLv2+
+// Refer to the license.txt file included.
+
+#include <cstring>
+#include "VideoBackends/Software/SWStatistics.h"
+
+SWStatistics swstats;
+
+SWStatistics::SWStatistics()
+{
+ frameCount = 0;
+}
+
+void SWStatistics::ResetFrame()
+{
+ memset(&thisFrame, 0, sizeof(ThisFrame));
+}