diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-05-03 15:05:52 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-05-03 15:05:52 +0200 |
commit | 9432a9f3822f024e97185ac4b0a9df5c07987dd1 (patch) | |
tree | 0d49a46b46adde9f1b637f873dc49c29c20a7ca0 /src | |
parent | aa4344e249d855bfc2ddd52af61d3213d9e99db3 (diff) |
remove useless variables
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 80c25b5..643cf90 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -147,10 +147,6 @@ void EmuThread::run() u32 lasttick = starttick; u32 lastmeasuretick = lasttick; u32 fpslimitcount = 0; - u64 perfcount = SDL_GetPerformanceCounter(); - u64 perffreq = SDL_GetPerformanceFrequency(); - float samplesleft = 0; - u32 nsamples = 0; char melontitle[100]; @@ -288,7 +284,6 @@ void EmuThread::run() if ((abs(wantedtickF - (float)wantedtick) < 0.001312) || (fpslimitcount > 60)) { fpslimitcount = 0; - nsamples = 0; starttick = lasttick; } } |