MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / IdempotentWriteBytes

Method IdempotentWriteBytes

common/MemoryInterface.cpp:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115bool MemoryInterface::IdempotentWriteBytes(u32 address, void* src, u32 size)
116{
117 if (CompareBytes(address, src, size))
118 return true;
119
120 return WriteBytes(address, src, size);
121}
122
123template <MemoryAccessType Value>
124bool MemoryInterface::IdempotentWrite(u32 address, Value value)

Callers 1

ApplyPatchMethod · 0.80

Calls 1

WriteBytesFunction · 0.85

Tested by

no test coverage detected