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

Method IdempotentWrite64

common/MemoryInterface.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95bool MemoryInterface::IdempotentWrite64(u32 address, u64 value)
96{
97 bool valid;
98 u64 existing_value = Read64(address, &valid);
99 if (!valid || existing_value == value)
100 return valid;
101
102 return Write64(address, value);
103}
104
105bool MemoryInterface::IdempotentWrite128(u32 address, u128 value)
106{

Callers 1

ApplyPatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected