mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Do not show Bootstrap file option for .firm files
This commit is contained in:
parent
e3bafd8686
commit
0d35134952
@ -213,9 +213,13 @@ FileOperation fileBrowse_A(DirEntry* entry, char path[PATH_MAX]) {
|
|||||||
if (!entry->isDirectory) {
|
if (!entry->isDirectory) {
|
||||||
if (entry->isApp) {
|
if (entry->isApp) {
|
||||||
assignedOp[++maxCursors] = FileOperation::bootFile;
|
assignedOp[++maxCursors] = FileOperation::bootFile;
|
||||||
printf(" Boot file (Direct)\n");
|
if (extension(entry->name, {"firm"})) {
|
||||||
assignedOp[++maxCursors] = FileOperation::bootstrapFile;
|
printf(" Boot file\n");
|
||||||
printf(" Bootstrap file\n");
|
} else {
|
||||||
|
printf(" Boot file (Direct)\n");
|
||||||
|
assignedOp[++maxCursors] = FileOperation::bootstrapFile;
|
||||||
|
printf(" Bootstrap file\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(extension(entry->name, {"nds", "dsi", "ids", "app"}))
|
if(extension(entry->name, {"nds", "dsi", "ids", "app"}))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user