Skip to content

Commit

Permalink
SDL: profiler fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaspider committed Oct 3, 2020
1 parent b0fbf08 commit bbdb296
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SDL/SDLMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ SDLJoystick *joystick = NULL;
#include <thread>
#include <locale>

#include "profiler/profiler.h"
#include "base/display.h"
#include "Common/TimeUtil.h"
#include "ext/glslang/glslang/Public/ShaderLang.h"
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit bbdb296

Please sign in to comment.