Correct errors

This commit is contained in:
jaby 2022-11-16 03:47:22 +01:00
parent 3d9e87a400
commit 9cb04e2380
1 changed files with 2 additions and 2 deletions

View File

@ -115,10 +115,10 @@ fn process_system_area(system_area: &SystemArea, sec_writer: &mut dyn SectorWrit
}
fn write_license_logo(sec_writer: &mut dyn SectorWriter, license_file: &mut BufferedInputFile) -> Result<(), Error> {
const LICENSE_LOGO_START:u64 = 0x2488;
const LICENSE_LOGO_START:u64 = 0x2DA8;
license_file.seek(SeekFrom::Start(LICENSE_LOGO_START))?;
for _ in 0..4 {
for _ in 0..7 {
const LICENSE_SECTOR_REST:i64 = 0x120;
let mut license_logo_buffer = [0u8; Mode2Form1::DATA_SIZE];