diff options
Diffstat (limited to 'src/emu/softlist_dev.cpp')
-rw-r--r-- | src/emu/softlist_dev.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/softlist_dev.cpp b/src/emu/softlist_dev.cpp index e6ee818b449..4da6c9069b0 100644 --- a/src/emu/softlist_dev.cpp +++ b/src/emu/softlist_dev.cpp @@ -218,7 +218,7 @@ void software_list_device::display_matches(const machine_config &config, const c { // get the top 16 approximate matches for the selected device interface (i.e. only carts for cartslot, etc.) const software_info *matches[16] = { nullptr }; - swlistdev.find_approx_matches(name, ARRAY_LENGTH(matches), matches, interface); + swlistdev.find_approx_matches(name, std::size(matches), matches, interface); // if we found some, print them if (matches[0] != nullptr) |