mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-06 15:39:08 +01:00
Add support load 3DS room
This commit is contained in:
parent
26f31a2dfb
commit
35a085d567
2 changed files with 3 additions and 1 deletions
|
@ -179,7 +179,7 @@ void GMainWindow::BootGame(std::string filename)
|
|||
|
||||
void GMainWindow::OnMenuLoadFile()
|
||||
{
|
||||
QString filename = QFileDialog::getOpenFileName(this, tr("Load File"), QString(), tr("3DS executable (*.3dsx *.elf *.axf *.bin *.cci *.cxi)"));
|
||||
QString filename = QFileDialog::getOpenFileName(this, tr("Load File"), QString(), tr("3DS executable (*.3ds *.3dsx *.elf *.axf *.bin *.cci *.cxi)"));
|
||||
if (filename.size())
|
||||
BootGame(filename.toLatin1().data());
|
||||
}
|
||||
|
|
|
@ -45,6 +45,8 @@ FileType IdentifyFile(const std::string &filename) {
|
|||
return FileType::CCI;
|
||||
} else if (extension == ".bin") {
|
||||
return FileType::BIN;
|
||||
} else if (extension == ".3ds") {
|
||||
return FileType::CCI;
|
||||
} else if (extension == ".3dsx") {
|
||||
return FileType::THREEDSX;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue