IOS/ES: Block ImportTitleDone if there's a content import
This commit is contained in:
parent
b584d2797f
commit
4d08e90f26
|
@ -350,7 +350,7 @@ IPCCommandResult ES::ImportContentEnd(Context& context, const IOCtlVRequest& req
|
||||||
|
|
||||||
ReturnCode ES::ImportTitleDone(Context& context)
|
ReturnCode ES::ImportTitleDone(Context& context)
|
||||||
{
|
{
|
||||||
if (!context.title_import.tmd.IsValid())
|
if (!context.title_import.tmd.IsValid() || context.title_import.content_id != 0xFFFFFFFF)
|
||||||
return ES_EINVAL;
|
return ES_EINVAL;
|
||||||
|
|
||||||
if (!WriteImportTMD(context.title_import.tmd))
|
if (!WriteImportTMD(context.title_import.tmd))
|
||||||
|
|
Loading…
Reference in New Issue