MCPcopy Create free account
hub / github.com/clementgallet/libTAS / get_previous_value

Method get_previous_value

src/program/ramsearch/MemScanner.cpp:330–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330const MemValueType* MemScanner::get_previous_value(int index) const
331{
332 if (old_values.empty()) {
333 static MemValueType zero_value = {};
334 return &zero_value;
335 }
336
337 return reinterpret_cast<const MemValueType*>(&old_values[index*value_type_size]);
338}
339
340MemValueType MemScanner::get_current_value(int index) const
341{

Callers 1

dataMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected