mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
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:
1 parent
e9e27382af
commit
a44c2c0bde
18 files changed
+72
-55
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user