mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 05:50:29 +02:00
Debugger: Keep char *s for memchecks.
This commit is contained in:
1 parent
07de2e5401
commit
ee71ef961f
3 files changed
+11
-11
No files matched your search
@@ -75,7 +75,7 @@ struct PendingNotifyMem {
|
||||
std::string tag;
|
||||
};
|
||||
|
||||
static constexpr size_t MAX_PENDING_NOTIFIES = 4096;
|
||||
static constexpr size_t MAX_PENDING_NOTIFIES = 512;
|
||||
static MemSlabMap allocMap;
|
||||
static MemSlabMap suballocMap;
|
||||
static MemSlabMap writeMap;
|
||||
@@ -377,9 +377,9 @@ void NotifyMemInfoPC(MemBlockFlags flags, uint32_t start, uint32_t size, uint32_
|
||||
}
|
||||
|
||||
if (flags & MemBlockFlags::WRITE) {
|
||||
CBreakPoints::ExecMemCheck(start, true, size, pc, tag);
|
||||
CBreakPoints::ExecMemCheck(start, true, size, pc, tag.c_str());
|
||||
} else if (flags & MemBlockFlags::READ) {
|
||||
CBreakPoints::ExecMemCheck(start, false, size, pc, tag);
|
||||
CBreakPoints::ExecMemCheck(start, false, size, pc, tag.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user