PSPPointer<>: Replace some fiddly memsets with use of a new FillWithZero function.

This commit is contained in:
Henrik Rydgård committed 2025-01-05 23:43:41 +01:00
1 parent cf0c0dab0a
commit 2edc3085a5
3 files changed
+12 -6

No files matched your search

+3 -1
View File
@@ -497,7 +497,9 @@ void Memset(const u32 _Address, const u8 _iValue, const u32 _iLength, const char
Write_U8(_iValue, (u32)(_Address + i));
}
NotifyMemInfo(MemBlockFlags::WRITE, _Address, _iLength, tag, strlen(tag));
if (tag) {
NotifyMemInfo(MemBlockFlags::WRITE, _Address, _iLength, tag, strlen(tag));
}
}
} // namespace