Play-/Source/win32ui/Main.cpp
2014-08-10 05:06:39 -04:00

16 lines
357 B
C++

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