Replace System_SendDebugOutput with a registered callback

I normally try to avoid registrations when not needed, but in this case
only headless uses this, so it's motivated.
This commit is contained in:
Henrik Rydgård committed 2026-08-11 22:36:47 +02:00
1 parent e9e27382af
commit a44c2c0bde
18 files changed
+72 -55

No files matched your search

+1 -1
View File
@@ -569,7 +569,7 @@ void NotifyMemInfoCopy(uint32_t destPtr, uint32_t srcPtr, uint32_t size, const c
info.pc = currentMIPS->pc;
// Store the prefix for now. The correct tag will be calculated on flush.
info.tagLen = std::min(sizeof(info.tag), prefixLen);
info.tagLen = (uint8_t)std::min(sizeof(info.tag), prefixLen);
memcpy(info.tag, prefix, info.tagLen);
std::lock_guard<std::mutex> guard(pendingWriteMutex);