summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/smartmed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/smartmed.h')
-rw-r--r--src/devices/machine/smartmed.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/smartmed.h b/src/devices/machine/smartmed.h
index 708449cd36a..3c9eeeca54e 100644
--- a/src/devices/machine/smartmed.h
+++ b/src/devices/machine/smartmed.h
@@ -156,7 +156,8 @@ protected:
// 0 means no card loaded
int m_log2_pages_per_block; // log2 of number of pages per erase block (usually 4 or 5)
- uint8_t* m_data_ptr; // FEEPROM data area
+ uint8_t *m_feeprom_data; // FEEPROM data area
+ std::unique_ptr<uint8_t[]> m_feeprom_data_alloc;
std::unique_ptr<uint8_t[]> m_data_uid_ptr;
sm_mode_t m_mode; // current operation mode