blob: a03e657770db3c40c370ea6c953f9c184f6ebbd8 (
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/release/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 "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);
}
|