mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
feat: Do not save memory providers as recent entries (#1259)
This commit is contained in:
@@ -61,6 +61,12 @@ namespace hex::prv {
|
||||
*/
|
||||
[[nodiscard]] virtual bool isDumpable() const;
|
||||
|
||||
/**
|
||||
* @brief Controls whether this provider can be saved as a recent entry
|
||||
* Tipitcally used for providers that do not retain data, e.g. the memory provider
|
||||
*/
|
||||
[[nodiscard]] virtual bool isSavableAsRecent() const { return true; }
|
||||
|
||||
/**
|
||||
* @brief Read data from this provider, applying overlays and patches
|
||||
* @param offset offset to start reading the data
|
||||
|
||||
Reference in New Issue
Block a user