blob: 31ba3db2e38d45af7858d8de4fef6b9972f59262 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// For licensing and usage information, read docs/winui_license.txt
//****************************************************************************
#ifndef WINUI
#define WINUI
#endif
// import the main() from MAME, but rename it so we can call it indirectly
#undef main
#undef wmain
#define main mame_main
#define wmain mame_main
#include "windows/main.cpp"
#undef main
#undef wmain
#include "winui.h"
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
{
return MameUIMain(hInstance, lpCmdLine, nCmdShow);
}
|