From bbdb2964443cdd364b58d908a33588638efa8f17 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sat, 3 Oct 2020 23:20:07 +0100 Subject: [PATCH] SDL: profiler fix. --- SDL/SDLMain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp index f0ab1df43a4b..11dd660e4835 100644 --- a/SDL/SDLMain.cpp +++ b/SDL/SDLMain.cpp @@ -20,6 +20,7 @@ SDLJoystick *joystick = NULL; #include #include +#include "profiler/profiler.h" #include "base/display.h" #include "Common/TimeUtil.h" #include "ext/glslang/glslang/Public/ShaderLang.h" @@ -458,6 +459,7 @@ static void EmuThreadJoin() { #undef main #endif int main(int argc, char *argv[]) { + PROFILE_INIT(); for (int i = 1; i < argc; i++) { if (!strcmp(argv[i], "--version")) { printf("%s\n", PPSSPP_GIT_VERSION);