diff options
author | 2017-03-02 20:01:17 -0500 | |
---|---|---|
committer | 2017-03-02 20:01:17 -0500 | |
commit | 3ad77eae8a3c541fd02ece252ef56a6d9e3e2a49 (patch) | |
tree | fc112d758817569a40d13ae51535b4b37642e873 /src/devices/bus/psx/memcard.cpp | |
parent | e27a978955f4a849b7c11ae0bb0fbc6a2bcdd9af (diff) |
Image instance name refactoring and bug fixing (nw)
- update_names no longer takes arguments; the device type can be obtained easily, and the custom instance names are now overrides. Devices might not need to explicitly call update_names in the future.
- Fix the frontend crash/assert failure resulting from instance names not being generated properly.
Diffstat (limited to 'src/devices/bus/psx/memcard.cpp')
-rw-r--r-- | src/devices/bus/psx/memcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/psx/memcard.cpp b/src/devices/bus/psx/memcard.cpp index 567cd615e65..a21cd6c2268 100644 --- a/src/devices/bus/psx/memcard.cpp +++ b/src/devices/bus/psx/memcard.cpp @@ -106,7 +106,7 @@ void psxcard_device::device_reset() void psxcard_device::device_config_complete() { - update_names(PSXCARD, "memcard", "mc"); + update_names(); } // |