MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / Restore

Method Restore

KittyMemoryEx/MemoryBackup.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool MemoryBackup::Restore()
53{
54 if (!isValid())
55 return false;
56
57 return _pMem->Write(_address, &_orig_code[0], _size);
58}
59
60std::string MemoryBackup::get_CurrBytes() const
61{

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected