mirror of https://github.com/mgba-emu/mgba.git
Qt: Add DS ROM loading
This commit is contained in:
parent
eeb8501ec4
commit
249f28fbe9
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue