MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / postErrorMessageBox

Function postErrorMessageBox

TheForceEngine/TFE_System/system.cpp:271–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 }
270
271 void postErrorMessageBox(const char* msg, const char* title)
272 {
273 TFE_System::logWrite(LOG_ERROR, title, msg);
274#ifdef _WIN32
275 // Output to a popup message box.
276 MessageBoxA(NULL, (LPCSTR)msg, (LPCSTR)title, MB_OK | MB_ICONERROR | MB_SYSTEMMODAL);
277#endif
278 }
279
280 void sleep(u32 sleepDeltaMS)
281 {

Callers 1

writeToDiskFunction · 0.85

Calls 1

logWriteFunction · 0.85

Tested by

no test coverage detected