Increase crashlog length limits

This commit is contained in:
Jonathan G Rennison
2017-09-04 00:56:57 +01:00
parent fd9a2e680c
commit 2f85326a4a
3 changed files with 3 additions and 3 deletions

View File

@@ -477,7 +477,7 @@ bool CrashLog::MakeCrashLog() const
crashlogged = true; crashlogged = true;
char filename[MAX_PATH]; char filename[MAX_PATH];
char buffer[65536 * 2]; char buffer[65536 * 4];
bool ret = true; bool ret = true;
printf("Crash encountered, generating crash log...\n"); printf("Crash encountered, generating crash log...\n");

View File

@@ -165,7 +165,7 @@ public:
/** Generate the crash log. */ /** Generate the crash log. */
bool MakeCrashLog() bool MakeCrashLog()
{ {
char buffer[65536]; char buffer[65536 * 4];
bool ret = true; bool ret = true;
printf("Crash encountered, generating crash log...\n"); printf("Crash encountered, generating crash log...\n");

View File

@@ -63,7 +63,7 @@ public:
/** Buffer for the generated crash log */ /** Buffer for the generated crash log */
char crashlog[65536]; char crashlog[65536 * 4];
/** Buffer for the filename of the crash log */ /** Buffer for the filename of the crash log */
char crashlog_filename[MAX_PATH]; char crashlog_filename[MAX_PATH];
/** Buffer for the filename of the crash dump */ /** Buffer for the filename of the crash dump */