Play-/Source/ui_win32/Main.cpp
2015-05-06 01:27:59 -04:00

17 lines
315 B
C++

#include "MainWindow.h"
#ifdef VTUNE_ENABLED
#include <jitprofiling.h>
#endif
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
CPS2VM virtualMachine;
CMainWindow MainWindow(virtualMachine);
MainWindow.Loop();
#ifdef VTUNE_ENABLED
iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, NULL);
#endif
return 0;
}