mirror of https://github.com/mgba-emu/mgba.git
Qt: Allow loading of ZIPs when using minizip
This commit is contained in:
parent
4f1788b2e0
commit
388582776e
|
@ -273,7 +273,7 @@ void Window::saveConfig() {
|
||||||
void Window::selectROM() {
|
void Window::selectROM() {
|
||||||
QStringList formats{
|
QStringList formats{
|
||||||
"*.gba",
|
"*.gba",
|
||||||
#ifdef USE_LIBZIP
|
#if defined(USE_LIBZIP) || defined(USE_ZLIB)
|
||||||
"*.zip",
|
"*.zip",
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_LZMA
|
#ifdef USE_LZMA
|
||||||
|
@ -293,7 +293,7 @@ void Window::selectROM() {
|
||||||
void Window::replaceROM() {
|
void Window::replaceROM() {
|
||||||
QStringList formats{
|
QStringList formats{
|
||||||
"*.gba",
|
"*.gba",
|
||||||
#ifdef USE_LIBZIP
|
#if defined(USE_LIBZIP) || defined(USE_ZLIB)
|
||||||
"*.zip",
|
"*.zip",
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_LZMA
|
#ifdef USE_LZMA
|
||||||
|
|
Loading…
Reference in New Issue