entrypoint for release builds
| 225 | |
| 226 | // entrypoint for release builds |
| 227 | int wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPTSTR lpCmdLine, _In_ int nShowCmd) |
| 228 | { |
| 229 | if (FAILED(CoInitializeEx(nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE))) |
| 230 | cemuLog_log(LogType::Force, "CoInitializeEx() failed"); |
| 231 | SDL_SetMainReady(); |
| 232 | if (!LaunchSettings::HandleCommandline(lpCmdLine)) |
| 233 | return 0; |
| 234 | gui_create(); |
| 235 | return 0; |
| 236 | } |
| 237 | |
| 238 | // entrypoint for debug builds with console |
| 239 | int main(int argc, char* argv[]) |
nothing calls this directly
no test coverage detected