feat: audio mixer, Audio app, fix Installer crash
This commit is contained in:
@@ -99,14 +99,16 @@ namespace Hal {
|
||||
<< ") - process terminated";
|
||||
|
||||
// Capture crash report
|
||||
CrashReport::Report rep;
|
||||
CrashReport::Report rep{};
|
||||
rep.valid = true;
|
||||
rep.pid = proc->pid;
|
||||
for (int j = 0; j < 64 && proc->name[j]; j++) rep.processName[j] = proc->name[j];
|
||||
rep.processName[63] = '\0';
|
||||
int pn;
|
||||
for (pn = 0; pn < 63 && proc->name[pn]; pn++) rep.processName[pn] = proc->name[pn];
|
||||
rep.processName[pn] = '\0';
|
||||
rep.exceptionVector = i;
|
||||
for (int j = 0; j < 32 && ExceptionStrings[i][j]; j++) rep.exceptionName[j] = ExceptionStrings[i][j];
|
||||
rep.exceptionName[31] = '\0';
|
||||
int en;
|
||||
for (en = 0; en < 31 && ExceptionStrings[i][en]; en++) rep.exceptionName[en] = ExceptionStrings[i][en];
|
||||
rep.exceptionName[en] = '\0';
|
||||
rep.instructionPointer = regs->IP;
|
||||
rep.codeSegment = regs->CS;
|
||||
rep.flags = regs->Flags;
|
||||
|
||||
Reference in New Issue
Block a user