mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-04 16:59:02 +00:00
Fixed issue #25
This commit is contained in:
@@ -702,8 +702,8 @@ int SetArgument(int argc, int i, char *argv[], user_settings *set)
|
|||||||
|
|
||||||
int CheckArgumentCombination(user_settings *set)
|
int CheckArgumentCombination(user_settings *set)
|
||||||
{
|
{
|
||||||
// If content 0 was not specified, we must build it (a NCCH file)
|
// If content 0 was not specified (and a special file aka SRL,CIA,CCI was not specified), we must build it (a NCCH file)
|
||||||
if (set->common.contentPath[0] == NULL) {
|
if (set->common.contentPath[0] == NULL && set->common.workingFilePath == NULL) {
|
||||||
set->ncch.buildNcch0 = true;
|
set->ncch.buildNcch0 = true;
|
||||||
// A CXI can contain elements of a CFA, but not the other way round.
|
// A CXI can contain elements of a CFA, but not the other way round.
|
||||||
if (set->ncch.ncchType & CXI)
|
if (set->ncch.ncchType & CXI)
|
||||||
@@ -717,6 +717,7 @@ int CheckArgumentCombination(user_settings *set)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
set->ncch.buildNcch0 = false;
|
set->ncch.buildNcch0 = false;
|
||||||
|
set->ncch.ncchType = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < CIA_MAX_CONTENT; i++) {
|
for (int i = 0; i < CIA_MAX_CONTENT; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user