summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/distate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/distate.c')
-rw-r--r--src/emu/distate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/distate.c b/src/emu/distate.c
index 2a18ea59c9d..6a0621d3eac 100644
--- a/src/emu/distate.c
+++ b/src/emu/distate.c
@@ -517,7 +517,7 @@ device_state_entry &device_state_interface::state_add(int index, const char *sym
assert(symbol != NULL);
// allocate new entry
- device_state_entry *entry = auto_alloc(device().machine(), device_state_entry(index, symbol, data, size));
+ device_state_entry *entry = global_alloc(device_state_entry(index, symbol, data, size));
// append to the end of the list
m_state_list.append(*entry);