From 7c75595b95f506b1b9071fb0d601173dab48b5dd Mon Sep 17 00:00:00 2001 From: SuuperW Date: Mon, 30 Sep 2019 11:24:31 -0500 Subject: [PATCH] ResetFrameCounters --- desmume/src/frontend/windows/DesHawkAPI.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desmume/src/frontend/windows/DesHawkAPI.cpp b/desmume/src/frontend/windows/DesHawkAPI.cpp index 3007eaa06..1c54792fb 100644 --- a/desmume/src/frontend/windows/DesHawkAPI.cpp +++ b/desmume/src/frontend/windows/DesHawkAPI.cpp @@ -65,6 +65,10 @@ DLL int GetFrameCount() { return currFrameCounter; } +DLL void ResetFrameCounters() +{ + currFrameCounter = 0; +} DLL bool LoadROM(u8* file, int fileSize) {