Added a real GUI message box to Sys_ErrorDialog() on Mac OS X.

Fixes Bugzilla #3654.
This commit is contained in:
Ryan C. Gordon 2009-09-15 05:38:27 +00:00
parent d03120f0b0
commit f8604a64f4
4 changed files with 63 additions and 0 deletions

View file

@ -510,6 +510,11 @@ void Sys_ErrorDialog( const char *error )
Sys_Print( va( "%s\n", error ) );
#if defined(MACOS_X) && !DEDICATED
if (!com_dedicated || !com_dedicated->integer)
Sys_Cocoa_MsgBox(error);
#endif
/* make sure the write path for the crashlog exists... */
if( FS_CreatePath( ospath ) ) {
Com_Printf( "ERROR: couldn't create path '%s' for crash log.\n", ospath );