diff options
Diffstat (limited to 'library/include/MemAccess.h')
| -rw-r--r-- | library/include/MemAccess.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/include/MemAccess.h b/library/include/MemAccess.h index c51df3c6..a226018a 100644 --- a/library/include/MemAccess.h +++ b/library/include/MemAccess.h @@ -281,8 +281,14 @@ namespace DFHack /// get the DF Process FilePath std::string getPath(); + /// millisecond tick count, exactly as DF uses + uint32_t getTickCount(); + /// modify permisions of memory range bool setPermisions(const t_memrange & range,const t_memrange &trgrange); + + /// write a possibly read-only memory area + bool patchMemory(void *target, const void* src, size_t count); private: VersionInfo * my_descriptor; PlatformSpecific *d; |
