mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-06 19:01:55 +03:00
Improved command line handling and added support for loading ELF from command line.
This commit is contained in:
parent
3fec1ee4bc
commit
c6e0b146d8
3 changed files with 35 additions and 18 deletions
|
@ -4,10 +4,10 @@
|
|||
#include <jitprofiling.h>
|
||||
#endif
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, char* sCmdLine, int)
|
||||
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
|
||||
{
|
||||
CPS2VM virtualMachine;
|
||||
CMainWindow MainWindow(virtualMachine, sCmdLine);
|
||||
CMainWindow MainWindow(virtualMachine);
|
||||
MainWindow.Loop();
|
||||
#ifdef VTUNE_ENABLED
|
||||
iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue