diff --git a/docs/libretro/panda3ds_libretro.info b/docs/libretro/panda3ds_libretro.info index 40df7e222..de1be2f6f 100644 --- a/docs/libretro/panda3ds_libretro.info +++ b/docs/libretro/panda3ds_libretro.info @@ -1,7 +1,7 @@ # Software Information display_name = "Nintendo - 3DS (Panda3DS)" authors = "Panda3DS Authors (tm)" -supported_extensions = "3ds|3dsx|elf|axf|cci|cxi|app" +supported_extensions = "3ds|3dsx|elf|axf|cci|cxi|app|ncch" corename = "Panda3DS" categories = "Emulator" license = "GPLv3" diff --git a/readme.md b/readme.md index 3a33fc710..35715ac23 100644 --- a/readme.md +++ b/readme.md @@ -68,7 +68,7 @@ Simply drag and drop a ROM to the executable if supported, or invoke the executa
Panda3DS can load ROMs in the following formats: - .3ds/.cci -- .cxi/.app +- .cxi/.app/.ncch - .elf/.axf - .3dsx diff --git a/src/emulator.cpp b/src/emulator.cpp index 9b8564254..b06ed6217 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -249,7 +249,7 @@ bool Emulator::loadROM(const std::filesystem::path& path) { success = loadELF(path); else if (extension == ".3ds" || extension == ".cci") success = loadNCSD(path, ROMType::NCSD); - else if (extension == ".cxi" || extension == ".app") + else if (extension == ".cxi" || extension == ".app" || extension == ".ncch") success = loadNCSD(path, ROMType::CXI); else if (extension == ".3dsx") success = load3DSX(path); diff --git a/src/panda_qt/main_window.cpp b/src/panda_qt/main_window.cpp index 28a704e66..93ce26133 100644 --- a/src/panda_qt/main_window.cpp +++ b/src/panda_qt/main_window.cpp @@ -189,7 +189,7 @@ void MainWindow::swapEmuBuffer() { void MainWindow::selectROM() { auto path = QFileDialog::getOpenFileName( this, tr("Select 3DS ROM to load"), QString::fromStdU16String(emu->getConfig().defaultRomPath.u16string()), - tr("Nintendo 3DS ROMs (*.3ds *.cci *.cxi *.app *.3dsx *.elf *.axf)") + tr("Nintendo 3DS ROMs (*.3ds *.cci *.cxi *.app *.ncch *.3dsx *.elf *.axf)") ); if (!path.isEmpty()) {