diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index cd7bfee78..b6867a346 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -340,6 +340,21 @@ QString Window::getFilters() const { filters.append(tr("Game Boy Advance ROMs (%1)").arg(gbaFormats.join(QChar(' ')))); #endif +#ifdef M_CORE_DS + QStringList dsFormats{ + "*.nds", +#if defined(USE_LIBZIP) || defined(USE_ZLIB) + "*.zip", +#endif +#ifdef USE_LZMA + "*.7z", +#endif + "*.rom", + "*.bin"}; + formats.append(dsFormats); + filters.append(tr("DS ROMs (%1)").arg(gbaFormats.join(QChar(' ')))); +#endif + #ifdef M_CORE_GB QStringList gbFormats{ "*.gb",