diff options
Diffstat (limited to 'src/emu/save.h')
-rw-r--r-- | src/emu/save.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/save.h b/src/emu/save.h index a4d6e041e08..4b026ed9ad2 100644 --- a/src/emu/save.h +++ b/src/emu/save.h @@ -267,7 +267,7 @@ inline void save_manager::save_item(device_t *device, const char *module, const template<> inline void save_manager::save_item(device_t *device, const char *module, const char *tag, int index, attotime &value, const char *name) { - astring tempstr(name, ".attoseconds"); + astring tempstr = astring(name).cat(".attoseconds"); save_memory(device, module, tag, index, tempstr.c_str(), &value.attoseconds, sizeof(value.attoseconds)); tempstr.cpy(name).cat(".seconds"); save_memory(device, module, tag, index, tempstr.c_str(), &value.seconds, sizeof(value.seconds)); |