|
|
@ -73,16 +73,16 @@ void IPCRecorderWidget::OnEntryUpdated(IPCDebugger::RequestRecord record) {
|
|
|
|
service = QStringLiteral("%1 (%2)").arg(service, record.is_hle ? tr("HLE") : tr("LLE"));
|
|
|
|
service = QStringLiteral("%1 (%2)").arg(service, record.is_hle ? tr("HLE") : tr("LLE"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem item{
|
|
|
|
QTreeWidgetItem entry{
|
|
|
|
{QString::number(record.id), GetStatusStr(record), service, GetFunctionName(record)}};
|
|
|
|
{QString::number(record.id), GetStatusStr(record), service, GetFunctionName(record)}};
|
|
|
|
|
|
|
|
|
|
|
|
const int row_id = record.id - id_offset;
|
|
|
|
const int row_id = record.id - id_offset;
|
|
|
|
if (ui->main->invisibleRootItem()->childCount() > row_id) {
|
|
|
|
if (ui->main->invisibleRootItem()->childCount() > row_id) {
|
|
|
|
records[row_id] = record;
|
|
|
|
records[row_id] = record;
|
|
|
|
(*ui->main->invisibleRootItem()->child(row_id)) = item;
|
|
|
|
(*ui->main->invisibleRootItem()->child(row_id)) = entry;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
records.emplace_back(record);
|
|
|
|
records.emplace_back(record);
|
|
|
|
ui->main->invisibleRootItem()->addChild(new QTreeWidgetItem(item));
|
|
|
|
ui->main->invisibleRootItem()->addChild(new QTreeWidgetItem(entry));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (record.status == IPCDebugger::RequestStatus::HLEUnimplemented ||
|
|
|
|
if (record.status == IPCDebugger::RequestStatus::HLEUnimplemented ||
|
|
|
|