mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 18:01:34 +00:00
Added a real GUI message box to Sys_ErrorDialog() on Mac OS X.
Fixes Bugzilla #3654.
This commit is contained in:
parent
d03120f0b0
commit
f8604a64f4
4 changed files with 63 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue