summaryrefslogtreecommitdiffstats
path: root/src/osd/winui/mui_main.cpp
blob: 2be926cc2ef3aeaaa4d733ffb9b31a8766987658 (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 "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);
}