crashinfo path (untested)
This commit is contained in:
@@ -29,12 +29,12 @@ void *GetCrashedFramePtr()
|
||||
return (crashedFramePtr ? crashedFramePtr : __builtin_return_address(2));
|
||||
}
|
||||
|
||||
void InformUserOfCrash()
|
||||
void InformUserOfCrash( const CString &sPath )
|
||||
{
|
||||
CFStringRef error = CFStringCreateWithCString(NULL,
|
||||
"StepMania has crashed. Debug information has been output to\n"
|
||||
"\n"
|
||||
" /tmp/crashinfo.txt\n"
|
||||
" " + sPath + "\n"
|
||||
"\n"
|
||||
"Please report a bug at:\n"
|
||||
"\n"
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
|
||||
OSStatus HandleException(ExceptionInformation *theException);
|
||||
void *GetCrashedFramePtr();
|
||||
void InformUserOfCrash();
|
||||
void InformUserOfCrash( const CString &sPath );
|
||||
|
||||
#endif /* DARWIN_CRASH_H */
|
||||
|
||||
Reference in New Issue
Block a user