Skip to content

Commit

Permalink
Fix dvd split
Browse files Browse the repository at this point in the history
  • Loading branch information
Deterous authored Jan 20, 2025
1 parent ce5df9f commit 038d80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvd/dvd_split.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void generate_extra_xbox(Context &ctx, Options &options)

// clean the .security and write it to a .ss (if it doesn't exist)
std::filesystem::path ss_path(image_prefix + ".ss");
if(!std::filesystem::exists(ss_path) && !options.overwrite)
if(std::filesystem::exists(ss_path) && !options.overwrite)
{
LOG("warning: file already exists ({}.ss)", options.image_name);
}
Expand Down Expand Up @@ -144,7 +144,7 @@ export void redumper_split_dvd(Context &ctx, Options &options)
generate_extra_xbox(ctx, options);

// prevent hash generation for ISO with scsi errors
if(ctx.dump_errors->scsi && !options.force_split)
if(ctx.dump_errors && ctx.dump_errors->scsi && !options.force_split)
throw_line("{} scsi errors detected, unable to continue (use --force-split to ignore)", ctx.dump_errors->scsi);
}

Expand Down

0 comments on commit 038d80d

Please sign in to comment.