Dolphin, the GameCube and Wii emulator - Forums

Full Version: Compilation bugfix if EXTENDED_INFO enabled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp
index 06fe496..7b546fa 100644
--- a/Source/Core/Core/Src/Core.cpp
+++ b/Source/Core/Core/Src/Core.cpp
@@ -576,6 +576,9 @@ void VideoThrottle()
        // that's more of a debugging interest, it can always be optional of course if someone is interested.
        //#define EXTENDED_INFO
        #ifdef EXTENDED_INFO
+            static u64 ticks = 0;
+            static u64 idleTicks = 0;
+            
            u64 newTicks = CoreTiming::GetTicks();
            u64 newIdleTicks = CoreTiming::GetIdleTicks();
    
@@ -596,6 +599,7 @@ void VideoThrottle()
                    SystemTimers::GetTicksPerSecond() / 1000000,
                    _CoreParameter.bSkipIdle ? "~" : "",
                    TicksPercentage);