Skip to content

Commit

Permalink
Merge pull request #636 from wheremyfoodat/ncch
Browse files Browse the repository at this point in the history
Add support for .ncch files
  • Loading branch information
wheremyfoodat authored Nov 18, 2024
2 parents b85dba2 + 782b755 commit 452510b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/libretro/panda3ds_libretro.info
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Simply drag and drop a ROM to the executable if supported, or invoke the executa
<br>
Panda3DS can load ROMs in the following formats:
- .3ds/.cci
- .cxi/.app
- .cxi/.app/.ncch
- .elf/.axf
- .3dsx

Expand Down
2 changes: 1 addition & 1 deletion src/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/panda_qt/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 452510b

Please sign in to comment.