mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Merge pull request #636 from wheremyfoodat/ncch
Add support for .ncch files
This commit is contained in:
commit
452510b932
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Software Information
|
# Software Information
|
||||||
display_name = "Nintendo - 3DS (Panda3DS)"
|
display_name = "Nintendo - 3DS (Panda3DS)"
|
||||||
authors = "Panda3DS Authors (tm)"
|
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"
|
corename = "Panda3DS"
|
||||||
categories = "Emulator"
|
categories = "Emulator"
|
||||||
license = "GPLv3"
|
license = "GPLv3"
|
||||||
|
|
|
@ -68,7 +68,7 @@ Simply drag and drop a ROM to the executable if supported, or invoke the executa
|
||||||
<br>
|
<br>
|
||||||
Panda3DS can load ROMs in the following formats:
|
Panda3DS can load ROMs in the following formats:
|
||||||
- .3ds/.cci
|
- .3ds/.cci
|
||||||
- .cxi/.app
|
- .cxi/.app/.ncch
|
||||||
- .elf/.axf
|
- .elf/.axf
|
||||||
- .3dsx
|
- .3dsx
|
||||||
|
|
||||||
|
|
|
@ -249,7 +249,7 @@ bool Emulator::loadROM(const std::filesystem::path& path) {
|
||||||
success = loadELF(path);
|
success = loadELF(path);
|
||||||
else if (extension == ".3ds" || extension == ".cci")
|
else if (extension == ".3ds" || extension == ".cci")
|
||||||
success = loadNCSD(path, ROMType::NCSD);
|
success = loadNCSD(path, ROMType::NCSD);
|
||||||
else if (extension == ".cxi" || extension == ".app")
|
else if (extension == ".cxi" || extension == ".app" || extension == ".ncch")
|
||||||
success = loadNCSD(path, ROMType::CXI);
|
success = loadNCSD(path, ROMType::CXI);
|
||||||
else if (extension == ".3dsx")
|
else if (extension == ".3dsx")
|
||||||
success = load3DSX(path);
|
success = load3DSX(path);
|
||||||
|
|
|
@ -189,7 +189,7 @@ void MainWindow::swapEmuBuffer() {
|
||||||
void MainWindow::selectROM() {
|
void MainWindow::selectROM() {
|
||||||
auto path = QFileDialog::getOpenFileName(
|
auto path = QFileDialog::getOpenFileName(
|
||||||
this, tr("Select 3DS ROM to load"), QString::fromStdU16String(emu->getConfig().defaultRomPath.u16string()),
|
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()) {
|
if (!path.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue