mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
Build the launcher on Qt below 6.6 and cap the reference-clock log (#653)
* Fix launcher build on Qt versions below 6.6 QVulkanInstance::NoPortabilityDrivers is only available since Qt 6.6, so guard its use the same way as the Apple-specific case. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Stop logging every reference-clock copy CopyData of the clock counter runs on every GPU wait, so the handler wrote one line per wait: a single SpongeBob boot that never reaches a frame logs 1312 of them, and the count grows with run time. Keep the first 64 lines for diagnostics; the copy itself is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove reference-clock logging comment --------- Co-authored-by: YuhiAida <21134775+YuhiAida@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
@@ -386,8 +386,12 @@ void CommandProcessor::WriteReferenceClock(uint64_t dst_address, uint32_t num_by
|
||||
}
|
||||
const auto value = Sync::ReadReferenceClock();
|
||||
std::memcpy(reinterpret_cast<void*>(dst_address), &value, num_bytes);
|
||||
LOGF("\t copy_data reference clock: dst=0x%016" PRIx64 " value=0x%016" PRIx64 " size=%u\n",
|
||||
dst_address, value, num_bytes);
|
||||
static std::atomic<uint32_t> clock_log_count {0};
|
||||
if (clock_log_count.fetch_add(1) < 64) {
|
||||
LOGF("\t copy_data reference clock: dst=0x%016" PRIx64 " value=0x%016" PRIx64
|
||||
" size=%u\n",
|
||||
dst_address, value, num_bytes);
|
||||
}
|
||||
}
|
||||
|
||||
void CommandProcessor::DmaData(uint8_t engine, uint8_t dst_sel, uint8_t dst_cache_policy,
|
||||
|
||||
Reference in New Issue
Block a user